C# Class Schmup.HomingMissile

Inheritance: Shot
Mostra file Open project: Louis-Dureuil/maya-vs-the-world Class Usage Examples

Public Methods

Method Description
AngleBetweenRadians ( Vector2 vect1, Vector2 vect2 ) : float
AngleRadian ( Vector2 vect ) : float
HomingMissile ( LuxGame game, int invincibleTimeMillisec, bool isAGoodShot, float rotation, int hitbox, int damage, World world, Sprite skin = null ) : System
Update ( GameTime gameTime ) : void

Method Details

AngleBetweenRadians() public method

public AngleBetweenRadians ( Vector2 vect1, Vector2 vect2 ) : float
vect1 Vector2
vect2 Vector2
return float

AngleRadian() public method

public AngleRadian ( Vector2 vect ) : float
vect Vector2
return float

HomingMissile() public method

public HomingMissile ( LuxGame game, int invincibleTimeMillisec, bool isAGoodShot, float rotation, int hitbox, int damage, World world, Sprite skin = null ) : System
game LuxEngine.LuxGame
invincibleTimeMillisec int
isAGoodShot bool
rotation float
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