Method | Description | |
---|---|---|
Begin ( ) : void | ||
StepwiseGameLoop ( Execute callback ) : System |
Creates a new step-based game loop, which processes game logic only in response to a keypress.
|
|
StepwiseGameLoop ( Execute callback, System.Int64 startTime ) : System |
Creates a new step-based game loop, which processes game logic only in response to a keypress.
|
|
StepwiseGameLoop ( Sharplike stateMachine ) : System |
Creates a new step-based game loop, which processes game logic only in response to a keypress.
|
|
WaitForInput ( ) : |
Wait for the user to press a key.
|
|
WaitForInput ( String expected ) : |
Wait for a user to trigger one of the specified commands. This call will not return until the user triggers one of the expected commands.
|
Method | Description | |
---|---|---|
DoWait ( ) : |
||
InputSystem_CommandTriggered ( object sender, Input e ) : void |
public StepwiseGameLoop ( Execute callback ) : System | ||
callback | Execute | The game entry point. |
return | System |
public StepwiseGameLoop ( Execute callback, System.Int64 startTime ) : System | ||
callback | Execute | The game entry point. |
startTime | System.Int64 | The parameter to start the system at. |
return | System |
public StepwiseGameLoop ( Sharplike stateMachine ) : System | ||
stateMachine | Sharplike | The StateMachine used for this game's control flow. |
return | System |
public WaitForInput ( ) : |
||
return |
public WaitForInput ( String expected ) : |
||
expected | String | The specific commands to expect. |
return |