Package zombie.ai
Class State
java.lang.Object
zombie.ai.State
- Direct Known Subclasses:
AttackNetworkState
,AttackState
,AttackVehicleState
,BumpedState
,BurntToDeath
,ClimbDownSheetRopeState
,ClimbOverFenceState
,ClimbOverWallState
,ClimbSheetRopeState
,ClimbThroughWindowState
,CloseWindowState
,CollideWithWallState
,CrawlingZombieTurnState
,FakeDeadAttackState
,FakeDeadZombieState
,FishingState
,FitnessState
,ForecastBeatenPlayerState
,IdleState
,LungeNetworkState
,LungeState
,OpenWindowState
,PathFindState
,PathFindState2
,PlayerActionsState
,PlayerAimState
,PlayerEmoteState
,PlayerExtState
,PlayerFallDownState
,PlayerFallingState
,PlayerGetUpState
,PlayerHitReactionPVPState
,PlayerHitReactionState
,PlayerKnockedDown
,PlayerOnGroundState
,PlayerSitOnGroundState
,PlayerStrafeState
,SmashWindowState
,StaggerBackState
,SwipeStatePlayer
,ThumpState
,WalkTowardNetworkState
,WalkTowardState
,ZombieEatBodyState
,ZombieFaceTargetState
,ZombieFallDownState
,ZombieFallingState
,ZombieGetDownState
,ZombieGetUpFromCrawlState
,ZombieGetUpState
,ZombieHitReactionState
,ZombieIdleState
,ZombieOnGroundState
,ZombieReanimateState
,ZombieSittingState
,ZombieTurnAlerted
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter owner, AnimEvent event) void
enter
(IsoGameCharacter owner) void
execute
(IsoGameCharacter owner) void
exit
(IsoGameCharacter owner) void
getDeltaModifiers
(IsoGameCharacter owner, MoveDeltaModifiers modifiers) getName()
boolean
isAttacking
(IsoGameCharacter owner) Return TRUE if the owner is currently attacking.boolean
boolean
isIgnoreCollide
(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Return TRUE if the owner should ignore collisions when passing between two squares.boolean
isMoving
(IsoGameCharacter owner) Return TRUE if the owner is currently moving.
-
Constructor Details
-
State
public State()
-
-
Method Details
-
enter
-
execute
-
exit
-
animEvent
-
isAttacking
Return TRUE if the owner is currently attacking. Defaults to FALSE -
isMoving
Return TRUE if the owner is currently moving. Defaults to FALSE -
isDoingActionThatCanBeCancelled
public boolean isDoingActionThatCanBeCancelled()- Returns:
- TRUE if this state handles the "Cancel Action" key or the B controller button.
-
getDeltaModifiers
-
isIgnoreCollide
public boolean isIgnoreCollide(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Return TRUE if the owner should ignore collisions when passing between two squares. Defaults to FALSE -
getName
-
getStatePermissions
-