C# Class Tachycardia.State

ファイルを表示 Open project: secred/Tachycardia Class Usage Examples

Protected Properties

Property Type Description
m_StateManager StateManager
m_StateName string

Public Methods

Method Description
Enter ( ) : void
Exit ( ) : void
Initialize ( StateManager mngr, string name ) : void
KeyPressed ( MOIS keyEventRef ) : bool
KeyReleased ( MOIS keyEventRef ) : bool
MouseMoved ( MOIS evt ) : bool
MousePressed ( MOIS evt, MOIS id ) : bool
MouseReleased ( MOIS evt, MOIS id ) : bool
Pause ( ) : bool
Resume ( ) : void
State ( ) : System
Update ( ) : void

Protected Methods

Method Description
ChangeState ( State state ) : void
ChangeState ( String stateName ) : void
FindByName ( String stateName ) : State
PopAllAndPushState ( State state ) : void
PopState ( ) : void
PushState ( State state ) : bool
PushState ( String stateName ) : bool

Method Details

ChangeState() protected method

protected ChangeState ( State state ) : void
state State
return void

ChangeState() protected method

protected ChangeState ( String stateName ) : void
stateName String
return void

Enter() public method

public Enter ( ) : void
return void

Exit() public method

public Exit ( ) : void
return void

FindByName() protected method

protected FindByName ( String stateName ) : State
stateName String
return State

Initialize() public method

public Initialize ( StateManager mngr, string name ) : void
mngr StateManager
name string
return void

KeyPressed() public method

public KeyPressed ( MOIS keyEventRef ) : bool
keyEventRef MOIS
return bool

KeyReleased() public method

public KeyReleased ( MOIS keyEventRef ) : bool
keyEventRef MOIS
return bool

MouseMoved() public method

public MouseMoved ( MOIS evt ) : bool
evt MOIS
return bool

MousePressed() public method

public MousePressed ( MOIS evt, MOIS id ) : bool
evt MOIS
id MOIS
return bool

MouseReleased() public method

public MouseReleased ( MOIS evt, MOIS id ) : bool
evt MOIS
id MOIS
return bool

Pause() public method

public Pause ( ) : bool
return bool

PopAllAndPushState() protected method

protected PopAllAndPushState ( State state ) : void
state State
return void

PopState() protected method

protected PopState ( ) : void
return void

PushState() protected method

protected PushState ( State state ) : bool
state State
return bool

PushState() protected method

protected PushState ( String stateName ) : bool
stateName String
return bool

Resume() public method

public Resume ( ) : void
return void

State() public method

public State ( ) : System
return System

Update() public method

public Update ( ) : void
return void

Property Details

m_StateManager protected_oe property

protected StateManager,Tachycardia m_StateManager
return StateManager

m_StateName protected_oe property

protected string m_StateName
return string