Package zombie.characters.action
Class ActionState
java.lang.Object
zombie.characters.action.ActionState
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
canHaveSubState
(ActionState child) static boolean
canHaveSubState
(ActionState parent, ActionState child) Returns TRUE if the supplied child state can be a child of this state.final boolean
getName()
void
void
void
void
static boolean
tagsOverlap
(String[] parentTags, String[] childTags)
-
Field Details
-
name
-
transitions
-
-
Constructor Details
-
ActionState
-
-
Method Details
-
canHaveSubStates
public final boolean canHaveSubStates() -
canBeSubstate
public final boolean canBeSubstate() -
canHaveSubState
-
canHaveSubState
Returns TRUE if the supplied child state can be a child of this state. To determine this, the parent's childStateTags are compared to the child's parentStateTags. If there is an overlap, the child is compatible with the parent. -
tagsOverlap
-
getName
-
load
-
parse
-
sortTransitions
public void sortTransitions() -
resetForReload
public void resetForReload()
-