Property | Type | Description | |
---|---|---|---|
statistics |
Method | Description | |
---|---|---|
EmulatorUI ( ) : System | ||
LOG_DEBUG ( String text ) : void | ||
TranslateKeyCode ( Keys k ) : int | ||
decode4Bit ( byte data, int offset ) : void | ||
decode8Bit ( byte data, int offset ) : void | ||
getKeyboardEvents ( ) : int[] | ||
onNewFrame ( byte data ) : void |
Method | Description | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
Initialize ( ) : void |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
Run ( ) : void | ||
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
|
drawOverlay ( ) : void | ||
drawScreen ( Quad screenRect ) : void | ||
drawText ( string text, float x, float y, uint argb, int alignment ) : void | ||
drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1 ) : void | ||
drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1, float texcoords ) : void | ||
inputs ( ) : void | ||
layoutScreen ( ) : Quad | ||
render ( ) : void | ||
shutdown ( ) : void | ||
startup ( ) : void | ||
update ( ) : void |
Method | Description | |
---|---|---|
createTexture ( string text, Font font, uint argb ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
storeKeyboardEvents ( ) : void | ||
updateTextureBuffer ( ) : void |
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public static LOG_DEBUG ( String text ) : void | ||
text | String | |
return | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public decode4Bit ( byte data, int offset ) : void | ||
data | byte | |
offset | int | |
return | void |
public decode8Bit ( byte data, int offset ) : void | ||
data | byte | |
offset | int | |
return | void |
protected drawScreen ( Quad screenRect ) : void | ||
screenRect | Quad | |
return | void |
protected drawText ( string text, float x, float y, uint argb, int alignment ) : void | ||
text | string | |
x | float | |
y | float | |
argb | uint | |
alignment | int | |
return | void |
protected drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1 ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x0 | float | |
y0 | float | |
x1 | float | |
y1 | float | |
return | void |
protected drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1, float texcoords ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
x0 | float | |
y0 | float | |
x1 | float | |
y1 | float | |
texcoords | float | |
return | void |