public class AllStopCommand extends ShipCommand
Will deplete energy by 40 and health by 50% and wait for 5 seconds.
Constructor and Description |
---|
AllStopCommand()
Creates a command to bring a ship to an immediate full stop.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
executesImmediately()
AllStop executes immediately and has a cooldown of 5 seconds.
|
static int |
getInitialEnergyCost()
Gets the one-time energy cost to initiate this command.
|
java.lang.String |
getName() |
equals, getMessage, getOngoingEnergyCost, isBlocking, toString
public AllStopCommand()
public java.lang.String getName()
getName
in class ShipCommand
public static int getInitialEnergyCost()
public static boolean executesImmediately()