C# Class Moe.StateMachine.States.RootState

Inheritance: State
Datei anzeigen Open project: sstuddard/Moe.StateMachine Class Usage Examples

Public Methods

Method Description
ProcessEvent ( State originalState, EventInstance eventToProcess ) : State

By returning the current state of the fsm, we nullify this event because nobody responded.

RootState ( ) : System
TraverseUp ( TransitionEvent transition ) : State

Traversal that doesn't go to children of the root are for unknown states.

Method Details

ProcessEvent() public method

By returning the current state of the fsm, we nullify this event because nobody responded.
public ProcessEvent ( State originalState, EventInstance eventToProcess ) : State
originalState State
eventToProcess Moe.StateMachine.Events.EventInstance
return State

RootState() public method

public RootState ( ) : System
return System

TraverseUp() public method

Traversal that doesn't go to children of the root are for unknown states.
public TraverseUp ( TransitionEvent transition ) : State
transition Moe.StateMachine.Transitions.TransitionEvent
return State