Method | Description | |
---|---|---|
Begin ( ) : void | ||
DelayedCall ( System.Action callback, Action |
Calls a function after a given number of frames.
|
|
FadeTransition ( System.Action callback, System.Action finished = null ) : void |
Fades the screen to black, calls an optional callback function, and then fades back in, and calls another callback function when done.
|
|
GetLayerVisibility ( int layer ) : bool | ||
Pause ( ) : void | ||
SetLayerVisibility ( int layer, bool visibility ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
UnloadAudio ( ) : void |
Disposes of all audio objects. If you try to play audio after this is called, you will get an error.
|
|
Unpause ( ) : void |
Method | Description | |
---|---|---|
Application_Idle ( ) : void | ||
CheckInput ( ) : void | ||
Engine ( ) : System | ||
KeyToInput ( Keys key ) : GameInput | ||
RenderContext ( int layer ) : void | ||
Step ( float dt ) : bool | ||
opacityDown ( System.Action callback ) : void | ||
opacityUp ( ) : void |
public DelayedCall ( System.Action callback, Action |
||
callback | System.Action | The callback function to call. |
progress | Action |
A function called each frame to report the progress of the delay. |
delay | int | The number of frames to wait before calling. |
return | void |
public FadeTransition ( System.Action callback, System.Action finished = null ) : void | ||
callback | System.Action | The function to call when the screen is black. Can be null. |
finished | System.Action | The function to call when the transition is finished. Can be null. |
return | void |
public GetLayerVisibility ( int layer ) : bool | ||
layer | int | |
return | bool |
public SetLayerVisibility ( int layer, bool visibility ) : void | ||
layer | int | |
visibility | bool | |
return | void |