C# Class TapTitanXNA_DenesseNedamo.Level

Show file Open project: WINPROG20152016/Nedamo_TapTitanXNA Class Usage Examples

Public Properties

Property Type Description
HP int
enemy1 Hero
hero Hero
keyState Microsoft.Xna.Framework.Input.KeyboardState
mouseState Microsoft.Xna.Framework.Input.MouseState
oldKeyState Microsoft.Xna.Framework.Input.KeyboardState
oldMouseState Microsoft.Xna.Framework.Input.MouseState
windowHeight int
windowWidth int

Public Methods

Method Description
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Level ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Level() public method

public Level ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
content Microsoft.Xna.Framework.Content.ContentManager
return System

LoadContent() public method

public LoadContent ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

HP public property

public int HP
return int

enemy1 public property

public Hero,TapTitanXNA_DenesseNedamo enemy1
return Hero

hero public property

public Hero,TapTitanXNA_DenesseNedamo hero
return Hero

keyState public property

public KeyboardState,Microsoft.Xna.Framework.Input keyState
return Microsoft.Xna.Framework.Input.KeyboardState

mouseState public property

public MouseState,Microsoft.Xna.Framework.Input mouseState
return Microsoft.Xna.Framework.Input.MouseState

oldKeyState public property

public KeyboardState,Microsoft.Xna.Framework.Input oldKeyState
return Microsoft.Xna.Framework.Input.KeyboardState

oldMouseState public property

public MouseState,Microsoft.Xna.Framework.Input oldMouseState
return Microsoft.Xna.Framework.Input.MouseState

windowHeight public static property

public static int windowHeight
return int

windowWidth public static property

public static int windowWidth
return int