Instance Property


The state machine that owns this state object.


weak var stateMachine: GKStateMachine? { get }


Use this property to refer to the state machine this state object is being used in.

See Also

Working with State Machines

func isValidNextState(AnyClass) -> Bool

Returns a Boolean value indicating whether a state machine currently in this state is allowed to transition into the specified state.