C# 클래스 Schmup.ShotPool

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

공개 메소드들

메소드 설명
Check ( ) : void
Clear ( ) : void
Initialize ( ) : void
Print ( ) : void
Shoot ( float positionX, float positionY, float speedX, float speedY, float accelX, float accelY, bool copyPosition, bool copySpeed, bool copyAccel ) : void

Tire une balle, la fait rentrer en compte dans le monde pour les collisions

ShotPool ( LuxGame game, World world ) : System
ShotPool ( LuxGame game, World world, Shot shot, int shotNb, int maxShotNb, Sprite skin = null ) : System
ShotPool ( LuxGame game, World world, bool isAGoodShot, double invincibleTimeSec, int shotNb, int maxShotNb, int shotHitBox, int damage, Microsoft.Xna.Framework.Graphics.Texture2D bulletText, Sprite skin = null ) : System
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
activeShotsAdd ( Shot shot ) : void
activeShotsRemove ( Shot shot ) : void
shoot ( Shot shot, float positionX, float positionY, float speedX, float speedY, float accelX, float accelY, bool copyPosition, bool copySpeed, bool copyAccel ) : void

메소드 상세

Check() 공개 메소드

public Check ( ) : void
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Print() 공개 메소드

public Print ( ) : void
리턴 void

Shoot() 공개 메소드

Tire une balle, la fait rentrer en compte dans le monde pour les collisions
public Shoot ( float positionX, float positionY, float speedX, float speedY, float accelX, float accelY, bool copyPosition, bool copySpeed, bool copyAccel ) : void
positionX float
positionY float
speedX float
speedY float
accelX float
accelY float
copyPosition bool
copySpeed bool
copyAccel bool
리턴 void

ShotPool() 공개 메소드

public ShotPool ( LuxGame game, World world ) : System
game LuxEngine.LuxGame
world World
리턴 System

ShotPool() 공개 메소드

public ShotPool ( LuxGame game, World world, Shot shot, int shotNb, int maxShotNb, Sprite skin = null ) : System
game LuxEngine.LuxGame
world World
shot Shot
shotNb int
maxShotNb int
skin Sprite
리턴 System

ShotPool() 공개 메소드

public ShotPool ( LuxGame game, World world, bool isAGoodShot, double invincibleTimeSec, int shotNb, int maxShotNb, int shotHitBox, int damage, Microsoft.Xna.Framework.Graphics.Texture2D bulletText, Sprite skin = null ) : System
game LuxEngine.LuxGame
world World
isAGoodShot bool
invincibleTimeSec double
shotNb int
maxShotNb int
shotHitBox int
damage int
bulletText Microsoft.Xna.Framework.Graphics.Texture2D
skin Sprite
리턴 System

Update() 공개 메소드

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