C# 클래스 Schmup.Enemy

상속: Character
파일 보기 프로젝트 열기: Louis-Dureuil/maya-vs-the-world 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

BigPatternShoot() 공개 메소드

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
리턴 void

Die() 공개 메소드

public Die ( ) : void
리턴 void

Enemy() 공개 메소드

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
리턴 System

Enemy() 공개 메소드

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
리턴 System

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LongPatternShoot() 공개 메소드

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
리턴 void

LongShoot() 공개 메소드

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
리턴 void

PatternShoot() 공개 메소드

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

RandomPatternShoot() 공개 메소드

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
리턴 void

Shoot() 공개 메소드

public Shoot ( int typeIndex, Vector2 direction ) : void
typeIndex int
direction Vector2
리턴 void

SuperShoot() 공개 메소드

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

Update() 공개 메소드

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