Interface ActionState

All Known Implementing Classes:
AdvanceAutoDelayState, AdvanceAutoState, AdvanceInputState, AdvanceSignalState, BackgroundSetAction, CharacterEnterAction, CharacterExitAction, DialogueHideAction, DialogueShowAction

public interface ActionState
Interface for action states.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the action is blocking till completion (false if async)
    boolean
    Checks if the action is completed (can be disposed of)
    void
    tick(int dtMs)
    Runs on every game tick to progress logic
  • Method Details

    • tick

      void tick(int dtMs)
      Runs on every game tick to progress logic
      Parameters:
      dtMs - The delta time in milliseconds
    • blocking

      boolean blocking()
      Checks if the action is blocking till completion (false if async)
      Returns:
      True if the action is blocking till completion (false if async)
    • done

      boolean done()
      Checks if the action is completed (can be disposed of)
      Returns:
      True if the action is completed (can be disposed of)