Instance Property

stateMachine

The state machine that owns this state object.

Declaration

weak var stateMachine: GKStateMachine? { get }

Discussion

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.