Property | Type | Description | |
---|---|---|---|
blank | Microsoft.Xna.Framework.Graphics.Texture2D | ||
bomb_icon | Microsoft.Xna.Framework.Graphics.Texture2D | ||
health | Microsoft.Xna.Framework.Graphics.Texture2D | ||
money | Microsoft.Xna.Framework.Graphics.Texture2D | ||
robot1_icon | Microsoft.Xna.Framework.Graphics.Texture2D | ||
robot2_icon | Microsoft.Xna.Framework.Graphics.Texture2D | ||
robot3_icon | Microsoft.Xna.Framework.Graphics.Texture2D | ||
robot4_icon | Microsoft.Xna.Framework.Graphics.Texture2D | ||
spawnTexture2D | Microsoft.Xna.Framework.Graphics.Texture2D | ||
time_img | Microsoft.Xna.Framework.Graphics.Texture2D | ||
trash | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
Draw ( |
||
Load ( GraphicsDevice gDev ) : void |
Load all the sprites and their textures from the appropriate files.
|
|
PlayingScreen ( |
||
Unload ( ) : void |
Set all the sprite values to null. Note: All objects referencing the sprites must be destroyed for this to work!
|
|
Update ( |
||
handleInput ( |
This function processes the input, currently adding items and towers (using the towers class). We will have specific towers so be sure to use the sub classes. The Draw function depends on this function on what item/tower to draw.
|
public Draw ( |
||
gameTime | ||
return | void |
public Load ( GraphicsDevice gDev ) : void | ||
gDev | GraphicsDevice | To stream the sprites, the graphics device is needed. |
return | void |
public Update ( |
||
gameTime | ||
return | void |
public handleInput ( |
||
finger | ||
return | void |
public Texture2D,Microsoft.Xna.Framework.Graphics blank | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics bomb_icon | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics health | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics money | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics robot1_icon | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics robot2_icon | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics robot3_icon | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics robot4_icon | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics spawnTexture2D | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics time_img | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |