C# Class WindowsGame1.Hero

Inheritance: Sprite
Afficher le fichier Open project: WINPROG20152016/Quiogue_TaptitanXNA Class Usage Examples

Méthodes publiques

Свойство Type Description
HeroDamage int
numSup int

Méthodes publiques

Méthode 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 méthode

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

Hero() public méthode

public Hero ( ContentManager content, Level level ) : System
content ContentManager
level Level
Résultat System

LoadContent() public méthode

public LoadContent ( int choice ) : void
choice int
Résultat void

PlayAttack() public méthode

public PlayAttack ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Update() public méthode

public Update ( GameTime gameTime, int choice ) : void
gameTime Microsoft.Xna.Framework.GameTime
choice int
Résultat void

getDamage() public méthode

public getDamage ( GameTime gameTime ) : int
gameTime Microsoft.Xna.Framework.GameTime
Résultat int

Property Details

HeroDamage public_oe property

public int HeroDamage
Résultat int

numSup public_oe property

public int numSup
Résultat int