Class GKState

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class GKState
extends NSObject
Since:
Available in iOS 9.0 and later.
  • Constructor Details

  • Method Details

    • getStateMachine

      public GKStateMachine getStateMachine()
    • isValidNextState

      public boolean isValidNextState​(Class<? extends GKState> stateClass)
    • didEnter

      public void didEnter​(GKState previousState)
    • update

      public void update​(double seconds)
    • willExit

      public void willExit​(GKState nextState)