Property | Type | Description | |
---|---|---|---|
backgroundName | string | ||
drawLimit | float | ||
laser | |||
musicName | string | ||
numDrawLeft | float |
Method | Description | |
---|---|---|
Draw ( GraphicsDevice device, Matrix camera ) : void | ||
GetVisualTargetPosition ( ) : Vector2 | ||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
ScrollingWorld ( string backgroundname = "background" ) : System | ||
ScrollingWorld ( string savedroomname, bool loadingWorldFromFile ) : System | ||
Simulate ( float dt ) : void | ||
getCameraCoords ( ) : Vector2 | ||
getGameCoords ( Vector2 myScreenCoords ) : Vector2 | ||
getScreenCoords ( Vector2 myGameCoords ) : Vector2 | ||
getScreenOrigin ( ) : Vector2 | ||
reloadNonSerializedAssets ( ) : void |
Method | Description | |
---|---|---|
DrawCrosshair ( ) : void |
public Draw ( GraphicsDevice device, Matrix camera ) : void | ||
device | GraphicsDevice | |
camera | Matrix | |
return | void |
public static LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public ScrollingWorld ( string backgroundname = "background" ) : System | ||
backgroundname | string | |
return | System |
public ScrollingWorld ( string savedroomname, bool loadingWorldFromFile ) : System | ||
savedroomname | string | |
loadingWorldFromFile | bool | |
return | System |
public getGameCoords ( Vector2 myScreenCoords ) : Vector2 | ||
myScreenCoords | Vector2 | |
return | Vector2 |
public getScreenCoords ( Vector2 myGameCoords ) : Vector2 | ||
myGameCoords | Vector2 | |
return | Vector2 |