C# 클래스 Moe.StateMachine.Extensions.StateDelegate.StateDelegatePlugIn

Plugin allows for adding delegate objects that follow a convention for state entry/exit notification. A delegate, to receive notification of a state entered/exited, must provide a public method that is named like this: public void OnEnter(object event) or no parameters. Exit notifications work the same. In the example above, the "StateString" is the state object ToString() result.
상속: IPlugIn
파일 보기 프로젝트 열기: sstuddard/Moe.StateMachine

공개 메소드들

메소드 설명
AddDelegate ( object target ) : void
Initialize ( StateMachine sm ) : void
RemoveDelegate ( object target ) : void
StateDelegatePlugIn ( ) : System

비공개 메소드들

메소드 설명
AttachState ( State state ) : void
InitializeStates ( ) : void
OnStateEntered ( object sender, StateTransitionEventArgs e ) : void
OnStateExited ( object sender, StateTransitionEventArgs e ) : void

메소드 상세

AddDelegate() 공개 메소드

public AddDelegate ( object target ) : void
target object
리턴 void

Initialize() 공개 메소드

public Initialize ( StateMachine sm ) : void
sm StateMachine
리턴 void

RemoveDelegate() 공개 메소드

public RemoveDelegate ( object target ) : void
target object
리턴 void

StateDelegatePlugIn() 공개 메소드

public StateDelegatePlugIn ( ) : System
리턴 System