C# Class Schmup.Enemy

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

Public Methods

Method Description
Activate ( ) : void
BigPatternShoot ( int typeIndex, Vector2 direction, int shotNb, float angleBtwShotsDegrees, int patNb, float initialSpeed, float finalSpeed ) : void
Die ( ) : void
Enemy ( LuxGame game, World world, int life, int takenDamageCollision, int givenDamageCollision, List shotsOfType, Sprite skin ) : System
Enemy ( LuxGame game, World world, int life, int takenDamageCollision, int givenDamageCollision, Sprite skin ) : System
Initialize ( ) : void
LongPatternShoot ( int typeIndex, Vector2 position, Vector2 speed, Vector2 accel, int shotNb, Vector2 speedAdd, Vector2 accelAdd, float angleBtwShotsDegrees, int patShotNb, int maxDeviationDegrees, float stretch ) : void
LongShoot ( int typeIndex, Vector2 position, Vector2 speed, Vector2 accel, int shotNb, Vector2 speedAdd, Vector2 accelAdd ) : void
PatternShoot ( int typeIndex, Vector2 direction, int shotNb, float angleBtwShotsDegrees ) : void
RandomPatternShoot ( int typeIndex, Vector2 position, Vector2 direction, Vector2 accel, float angleBtwShotsDegrees, int shotNb, int maxDeviationDegrees ) : void
Shoot ( int typeIndex, Vector2 direction ) : void
SuperShoot ( int typeIndex, Vector2 position, Vector2 direction, Vector2 accel ) : void
Update ( GameTime gameTime ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

BigPatternShoot() public method

public BigPatternShoot ( int typeIndex, Vector2 direction, int shotNb, float angleBtwShotsDegrees, int patNb, float initialSpeed, float finalSpeed ) : void
typeIndex int
direction Vector2
shotNb int
angleBtwShotsDegrees float
patNb int
initialSpeed float
finalSpeed float
return void

Die() public method

public Die ( ) : void
return void

Enemy() public method

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

Enemy() public method

public Enemy ( 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 Sprite
return System

Initialize() public method

public Initialize ( ) : void
return void

LongPatternShoot() public method

public LongPatternShoot ( int typeIndex, Vector2 position, Vector2 speed, Vector2 accel, int shotNb, Vector2 speedAdd, Vector2 accelAdd, float angleBtwShotsDegrees, int patShotNb, int maxDeviationDegrees, float stretch ) : void
typeIndex int
position Vector2
speed Vector2
accel Vector2
shotNb int
speedAdd Vector2
accelAdd Vector2
angleBtwShotsDegrees float
patShotNb int
maxDeviationDegrees int
stretch float
return void

LongShoot() public method

public LongShoot ( int typeIndex, Vector2 position, Vector2 speed, Vector2 accel, int shotNb, Vector2 speedAdd, Vector2 accelAdd ) : void
typeIndex int
position Vector2
speed Vector2
accel Vector2
shotNb int
speedAdd Vector2
accelAdd Vector2
return void

PatternShoot() public method

public PatternShoot ( int typeIndex, Vector2 direction, int shotNb, float angleBtwShotsDegrees ) : void
typeIndex int
direction Vector2
shotNb int
angleBtwShotsDegrees float
return void

RandomPatternShoot() public method

public RandomPatternShoot ( int typeIndex, Vector2 position, Vector2 direction, Vector2 accel, float angleBtwShotsDegrees, int shotNb, int maxDeviationDegrees ) : void
typeIndex int
position Vector2
direction Vector2
accel Vector2
angleBtwShotsDegrees float
shotNb int
maxDeviationDegrees int
return void

Shoot() public method

public Shoot ( int typeIndex, Vector2 direction ) : void
typeIndex int
direction Vector2
return void

SuperShoot() public method

public SuperShoot ( int typeIndex, Vector2 position, Vector2 direction, Vector2 accel ) : void
typeIndex int
position Vector2
direction Vector2
accel Vector2
return void

Update() public method

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