C# Class WindowsGame1.Hero

Inheritance: Sprite
Exibir arquivo Open project: WINPROG20152016/Quiogue_TaptitanXNA Class Usage Examples

Public Properties

Property Type Description
HeroDamage int
numSup int

Public Methods

Method Description
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Hero ( ContentManager content, Level level ) : System
LoadContent ( int choice ) : void
PlayAttack ( GameTime gameTime ) : void
Update ( GameTime gameTime, int choice ) : void
getDamage ( GameTime gameTime ) : int

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

Hero() public method

public Hero ( ContentManager content, Level level ) : System
content ContentManager
level Level
return System

LoadContent() public method

public LoadContent ( int choice ) : void
choice int
return void

PlayAttack() public method

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

Update() public method

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

getDamage() public method

public getDamage ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
return int

Property Details

HeroDamage public_oe property

public int HeroDamage
return int

numSup public_oe property

public int numSup
return int