C# Class TapTitanXNA_DenesseNedamo.Level

ファイルを表示 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_oe property

public int HP
return int

enemy1 public_oe property

public Hero,TapTitanXNA_DenesseNedamo enemy1
return Hero

hero public_oe property

public Hero,TapTitanXNA_DenesseNedamo hero
return Hero

keyState public_oe property

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

mouseState public_oe property

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

oldKeyState public_oe property

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

oldMouseState public_oe property

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

windowHeight public_oe static_oe property

public static int windowHeight
return int

windowWidth public_oe static_oe property

public static int windowWidth
return int