C# Class Schmup.Shot

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

Public Properties

Property Type Description
Accel Vector2
Speed Vector2

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Shoot ( ) : void
Shot ( LuxGame game, World world, double invincibleTimeSec, Sprite skin = null ) : System
Shot ( LuxGame game, double invincibleTimeSec, bool isAGoodShot, World world, int hitbox, int damage, Sprite skin = null ) : System
Shot ( LuxGame game, double invincibleTimeSec, int hitbox, int damage, World world, Sprite skin = null ) : System
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

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

Initialize() public method

public Initialize ( ) : void
return void

Shoot() public method

public Shoot ( ) : void
return void

Shot() public method

public Shot ( LuxGame game, World world, double invincibleTimeSec, Sprite skin = null ) : System
game LuxEngine.LuxGame
world World
invincibleTimeSec double
skin LuxEngine.Sprite
return System

Shot() public method

public Shot ( LuxGame game, double invincibleTimeSec, bool isAGoodShot, World world, int hitbox, int damage, Sprite skin = null ) : System
game LuxEngine.LuxGame
invincibleTimeSec double
isAGoodShot bool
world World
hitbox int
damage int
skin LuxEngine.Sprite
return System

Shot() public method

public Shot ( LuxGame game, double invincibleTimeSec, int hitbox, int damage, World world, Sprite skin = null ) : System
game LuxEngine.LuxGame
invincibleTimeSec double
hitbox int
damage int
world World
skin LuxEngine.Sprite
return System

Update() public method

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

Property Details

Accel public property

public Vector2 Accel
return Vector2

Speed public property

public Vector2 Speed
return Vector2