-
- All Implemented Interfaces:
-
org.lazywizard.console.BaseCommand
public class ToggleAI implements BaseCommand
-
-
Method Summary
Modifier and Type Method Description static boolean
isAIDisabled(ShipAPI target)
static void
setAIEnabled(ShipAPI target, boolean enabled)
BaseCommand.CommandResult
runCommand(String args, BaseCommand.CommandContext context)
Called when the player enters your command. -
-
Method Detail
-
isAIDisabled
static boolean isAIDisabled(ShipAPI target)
-
setAIEnabled
static void setAIEnabled(ShipAPI target, boolean enabled)
-
runCommand
BaseCommand.CommandResult runCommand(String args, BaseCommand.CommandContext context)
Called when the player enters your command.
- Parameters:
args
- The arguments passed into this command.context
- Where this command was called from (campaign, combat, mission, simulation, etc).
-
-
-
-