Method | Description | |
---|---|---|
DelayedAction ( int keyDelay = 300 ) : System |
Constractor of DelayedAction class.
|
|
eventHappened ( |
indicate either the event happened again after the keyDelay has passed. (keyborad version)
|
|
eventHappened ( |
indicate either the event happened again after the keyDelay has passed. (general version)
|
public DelayedAction ( int keyDelay = 300 ) : System | ||
keyDelay | int | amount of delay between 2 successive events |
return | System |
public eventHappened ( |
||
gameTime | the game time | |
keyState | the keyboard state | |
return | bool |
public eventHappened ( |
||
gameTime | the game time | |
condition | bool | boolean indicating either the condition of the event is true or not. |
return | bool |