C# Class Moe.StateMachine.States.State

ファイルを表示 Open project: sstuddard/Moe.StateMachine Class Usage Examples

Protected Properties

Property Type Description
transitions TransitionDirector

Public Methods

Method Description
AddChildState ( State substate ) : void
AddTransition ( Transition transition ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
ProcessEvent ( State originalState, EventInstance eventToProcess ) : State
State ( object id, State parent ) : System
ToString ( ) : string
TraverseDown ( TransitionEvent transitionEvent ) : State
TraverseUp ( TransitionEvent transitionEvent ) : State

Protected Methods

Method Description
DispatchDefaults ( ) : State
Enter ( TransitionEvent transition ) : void
Exit ( TransitionEvent transition ) : void

Method Details

AddChildState() public method

public AddChildState ( State substate ) : void
substate State
return void

AddTransition() public method

public AddTransition ( Transition transition ) : void
transition Moe.StateMachine.Transitions.Transition
return void

DispatchDefaults() protected method

protected DispatchDefaults ( ) : State
return State

Enter() protected method

protected Enter ( TransitionEvent transition ) : void
transition Moe.StateMachine.Transitions.TransitionEvent
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Exit() protected method

protected Exit ( TransitionEvent transition ) : void
transition Moe.StateMachine.Transitions.TransitionEvent
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

ProcessEvent() public method

public ProcessEvent ( State originalState, EventInstance eventToProcess ) : State
originalState State
eventToProcess Moe.StateMachine.Events.EventInstance
return State

State() public method

public State ( object id, State parent ) : System
id object
parent State
return System

ToString() public method

public ToString ( ) : string
return string

TraverseDown() public method

public TraverseDown ( TransitionEvent transitionEvent ) : State
transitionEvent Moe.StateMachine.Transitions.TransitionEvent
return State

TraverseUp() public method

public TraverseUp ( TransitionEvent transitionEvent ) : State
transitionEvent Moe.StateMachine.Transitions.TransitionEvent
return State

Property Details

transitions protected_oe property

protected TransitionDirector,Moe.StateMachine.States transitions
return TransitionDirector