Class ActionState

java.lang.Object
zombie.characters.action.ActionState

public final class ActionState extends Object
  • Field Details

  • Constructor Details

    • ActionState

      public ActionState(String name)
  • Method Details

    • canHaveSubStates

      public final boolean canHaveSubStates()
    • canBeSubstate

      public final boolean canBeSubstate()
    • canHaveSubState

      public final boolean canHaveSubState(ActionState child)
    • canHaveSubState

      public static boolean canHaveSubState(ActionState parent, ActionState child)
      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

      public static boolean tagsOverlap(String[] parentTags, String[] childTags)
    • getName

      public String getName()
    • load

      public void load(String stateFolderPath)
    • parse

      public void parse(File file)
    • sortTransitions

      public void sortTransitions()
    • resetForReload

      public void resetForReload()