Package zombie.ai.states
Class SmashWindowState
java.lang.Object
zombie.ai.State
zombie.ai.states.SmashWindowState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter owner, AnimEvent event) void
enter
(IsoGameCharacter owner) void
execute
(IsoGameCharacter owner) void
exit
(IsoGameCharacter owner) static SmashWindowState
instance()
boolean
Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, getStatePermissions, isAttacking, isIgnoreCollide, isMoving
-
Constructor Details
-
SmashWindowState
public SmashWindowState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
-
isDoingActionThatCanBeCancelled
public boolean isDoingActionThatCanBeCancelled()- Overrides:
isDoingActionThatCanBeCancelled
in classState
- Returns:
- TRUE if this state handles the "Cancel Action" key or the B controller button.
-