Instance Property

stateMachine

The state machine that owns this state object.

Declaration

@property(nonatomic, readonly, weak) GKStateMachine *stateMachine;

Discussion

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

See Also

Working with State Machines

- isValidNextState:

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