C# Class Moe.StateMachine.States.StateExtensions

Mostrar archivo Open project: sstuddard/Moe.StateMachine

Public Methods

Method Description
ContainsState ( this s, State state ) : bool
GetState ( this s, object stateId ) : State
GetSubstatePath ( this s, State targetState ) : State
VisitChildren ( this s, Action action ) : void
VisitParentChain ( this s, Action action ) : void

Method Details

ContainsState() public static method

public static ContainsState ( this s, State state ) : bool
s this
state State
return bool

GetState() public static method

public static GetState ( this s, object stateId ) : State
s this
stateId object
return State

GetSubstatePath() public static method

public static GetSubstatePath ( this s, State targetState ) : State
s this
targetState State
return State

VisitChildren() public static method

public static VisitChildren ( this s, Action action ) : void
s this
action Action
return void

VisitParentChain() public static method

public static VisitParentChain ( this s, Action action ) : void
s this
action Action
return void