Property | Type | Description | |
---|---|---|---|
DeltaTime | long | ||
Down | bool | ||
Fire | bool | ||
Left | bool | ||
Right | bool | ||
Ticks | long | ||
Up | bool |
Property | Type | Description | |
---|---|---|---|
CanPause | bool | ||
CurrentGame | |||
Overlay | |||
ShowWaitMessage | bool |
Method | Description | |
---|---|---|
AddSystem ( |
||
Collision ( string mask1, string mask2, float x, float y ) : bool |
Performs pixel level collision between two masks
|
|
Dispose ( ) : void | ||
LoadAudio ( string url ) : |
||
LoadImage ( string url, bool createMask ) : |
||
RemoveSystem ( |
||
Scene ( |
||
Start ( ) : void |
Method | Description | |
---|---|---|
HideMessage ( ) : void | ||
Init ( ) : void | ||
KeyDown ( System.Html.ElementEvent e ) : void | ||
KeyUp ( System.Html.ElementEvent e ) : void | ||
Pause ( ) : void | ||
PauseScene ( ) : void | ||
PreUpdate ( System.Html.Media.Graphics.CanvasContext2D context ) : void | ||
Resume ( ) : void | ||
ResumeScene ( ) : void | ||
ShowMessage ( string text ) : void | ||
Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void | ||
UpdateMessage ( string text ) : void |
Method | Description | |
---|---|---|
DisposeSystems ( ) : void | ||
HideWaitScreen ( ) : void | ||
InitializeSystems ( ) : void | ||
MaskedResourceLoaded ( System.Html.ElementEvent e ) : void | ||
OnBlur ( System.Html.ElementEvent e ) : void | ||
OnFocus ( System.Html.ElementEvent e ) : void | ||
OnKeyDown ( System.Html.ElementEvent e ) : void | ||
OnKeyUp ( System.Html.ElementEvent e ) : void | ||
ResourceLoaded ( System.Html.ElementEvent e ) : void | ||
StartTimer ( ) : void | ||
StopTimer ( ) : void | ||
TimerCallback ( ) : void |
public AddSystem ( |
||
gameSystem | ||
return | void |
public static Collision ( string mask1, string mask2, float x, float y ) : bool | ||
mask1 | string | The mask1. |
mask2 | string | The mask2. |
x | float | The x. |
y | float | The y. |
return | bool |
protected KeyDown ( System.Html.ElementEvent e ) : void | ||
e | System.Html.ElementEvent | |
return | void |
protected KeyUp ( System.Html.ElementEvent e ) : void | ||
e | System.Html.ElementEvent | |
return | void |
public LoadAudio ( string url ) : |
||
url | string | |
return |
public LoadImage ( string url, bool createMask ) : |
||
url | string | |
createMask | bool | |
return |
protected PreUpdate ( System.Html.Media.Graphics.CanvasContext2D context ) : void | ||
context | System.Html.Media.Graphics.CanvasContext2D | |
return | void |
public RemoveSystem ( |
||
gameSystem | ||
return | void |
protected Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void | ||
context | System.Html.Media.Graphics.CanvasContext2D | |
return | void |
protected UpdateMessage ( string text ) : void | ||
text | string | |
return | void |