C# Class Schmup.Character

Inheritance: LuxEngine.Scene
Show file Open project: Louis-Dureuil/maya-vs-the-world

Public Methods

Method Description
Character ( LuxGame game, World world, int life, int takenDamageCollision, int givenDamageCollision, Sprite skin ) : System
Collide ( int collisionDamage ) : void
Die ( ) : void
Draw ( GameTime gameTime ) : void
Hurt ( int lifeMinus ) : void
IsDead ( ) : bool
IsInvincible ( ) : bool
Update ( GameTime gameTime ) : void

Method Details

Character() public method

public Character ( LuxGame game, World world, int life, int takenDamageCollision, int givenDamageCollision, Sprite skin ) : System
game LuxEngine.LuxGame
world World
life int
takenDamageCollision int
givenDamageCollision int
skin LuxEngine.Sprite
return System

Collide() public method

public Collide ( int collisionDamage ) : void
collisionDamage int
return void

Die() public method

public Die ( ) : void
return void

Draw() public method

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

Hurt() public method

public Hurt ( int lifeMinus ) : void
lifeMinus int
return void

IsDead() public method

public IsDead ( ) : bool
return bool

IsInvincible() public method

public IsInvincible ( ) : bool
return bool

Update() public method

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