C# Class Schmup.RotatingShot

Inheritance: Shot
Afficher le fichier Open project: Louis-Dureuil/maya-vs-the-world Class Usage Examples

Méthodes publiques

Méthode Description
GiveDirection ( ) : Vector2
MemorizeDirection ( Vector2 direction ) : void
RotatingShot ( LuxGame game, World world, int invincibleTimeMillisec, bool isAGoodShot, float rotation, int hitbox, Sprite skin = null ) : System
Update ( GameTime gameTime ) : void

Method Details

GiveDirection() public méthode

public GiveDirection ( ) : Vector2
Résultat Vector2

MemorizeDirection() public méthode

public MemorizeDirection ( Vector2 direction ) : void
direction Vector2
Résultat void

RotatingShot() public méthode

public RotatingShot ( LuxGame game, World world, int invincibleTimeMillisec, bool isAGoodShot, float rotation, int hitbox, Sprite skin = null ) : System
game LuxEngine.LuxGame
world World
invincibleTimeMillisec int
isAGoodShot bool
rotation float
hitbox int
skin LuxEngine.Sprite
Résultat System

Update() public méthode

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