Interface State


public interface State
Defines a state inside a StateMachine and can basically do anything inside its boundaries.
Since:
13.07.2021
Author:
Juyas
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called if the current state gets transitioned to.
    void
    Called if the current state transitioned to another.
    void
    updateState(float dt)
    Update loop call from the object using the StateMachine
  • Method Details

    • enterState

      void enterState()
      Called if the current state gets transitioned to.
    • updateState

      void updateState(float dt)
      Update loop call from the object using the StateMachine
      Parameters:
      dt - the delta time value
    • exitState

      void exitState()
      Called if the current state transitioned to another. Call happens before update loop call and before the next states enterState()