C# Class Tachycardia.StateManager

Mostrar archivo Open project: secred/Tachycardia Class Usage Examples

Public Methods

Method Description
ChangeState ( State state ) : void
ChangeState ( String stateName ) : void
FindByName ( String stateName ) : State
GetActiveState ( ) : State
Init ( State state ) : void
IsActiveState ( string stateName ) : bool
KeyPressed ( MOIS keyEventRef ) : bool
KeyReleased ( MOIS keyEventRef ) : bool
MouseMoved ( MOIS evt ) : bool
MousePressed ( MOIS evt, MOIS id ) : bool
MouseReleased ( MOIS evt, MOIS id ) : bool
PauseState ( ) : void
PopAllAndPushState ( State state ) : void
PopState ( ) : void
PushState ( State state ) : bool
PushState ( String stateName ) : bool
RegisterState ( String stateName, State state ) : void
StateManager ( ) : System
Update ( ) : void

Method Details

ChangeState() public method

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

ChangeState() public method

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

FindByName() public method

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

GetActiveState() public method

public GetActiveState ( ) : State
return State

Init() public method

public Init ( State state ) : void
state State
return void

IsActiveState() public method

public IsActiveState ( string stateName ) : bool
stateName string
return bool

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

PauseState() public method

public PauseState ( ) : void
return void

PopAllAndPushState() public method

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

PopState() public method

public PopState ( ) : void
return void

PushState() public method

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

PushState() public method

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

RegisterState() public method

public RegisterState ( String stateName, State state ) : void
stateName String
state State
return void

StateManager() public method

public StateManager ( ) : System
return System

Update() public method

public Update ( ) : void
return void