Property | Type | Description | |
---|---|---|---|
BackgroundColor | Color | ||
Camera | |||
Canvas | |||
ContentManager | Microsoft.Xna.Framework.Content.ContentManager | ||
Dimensions | Point | ||
Font | |||
FrameRate | int | ||
GotoWorld | World | ||
Graphics | GraphicsDeviceManager | ||
Rand | |||
World | World |
Method | Description | |
---|---|---|
AngleBetween ( float x1, float y1, float x2, float y2 ) : float | ||
Distance ( Vector2 a, Vector2 b ) : float | ||
Distance ( float x1, float y1, float x2, float y2 ) : float | ||
ExitApp ( ) : void | ||
ExitGame ( ) : void | ||
Load ( String id ) : System.Image | ||
XP ( Point dimensions ) : System | ||
XP ( Point dimensions, int framerate ) : System |
Method | Description | |
---|---|---|
Draw ( |
||
Initialize ( ) : void | ||
LoadContent ( ) : void | ||
UnloadContent ( ) : void | ||
Update ( |
public static AngleBetween ( float x1, float y1, float x2, float y2 ) : float | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
return | float |
public static Distance ( Vector2 a, Vector2 b ) : float | ||
a | Vector2 | |
b | Vector2 | |
return | float |
public static Distance ( float x1, float y1, float x2, float y2 ) : float | ||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
return | float |
protected Draw ( |
||
gameTime | ||
return | void |
public static Load ( String id ) : System.Image | ||
id | String | |
return | System.Image |
protected Update ( |
||
gameTime | ||
return | void |
public XP ( Point dimensions, int framerate ) : System | ||
dimensions | Point | |
framerate | int | |
return | System |
public static SpriteBatch,Microsoft.Xna.Framework.Graphics Canvas | ||
return |
public static ContentManager,Microsoft.Xna.Framework.Content ContentManager | ||
return | Microsoft.Xna.Framework.Content.ContentManager |
public static SpriteFont,Microsoft.Xna.Framework.Graphics Font | ||
return |
public static GraphicsDeviceManager Graphics | ||
return | GraphicsDeviceManager |