Method | Description | |
---|---|---|
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 ( |
||
ShotPool ( |
||
ShotPool ( |
||
Update ( |
Method | Description | |
---|---|---|
activeShotsAdd ( |
||
activeShotsRemove ( |
||
shoot ( |
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 | |
return | void |
public ShotPool ( |
||
game | ||
world | ||
return | System |
public ShotPool ( |
||
game | ||
world | ||
shot | ||
shotNb | int | |
maxShotNb | int | |
skin | Sprite | |
return | System |
public ShotPool ( |
||
game | ||
world | ||
isAGoodShot | bool | |
invincibleTimeSec | double | |
shotNb | int | |
maxShotNb | int | |
shotHitBox | int | |
damage | int | |
bulletText | Microsoft.Xna.Framework.Graphics.Texture2D | |
skin | Sprite | |
return | System |
public Update ( |
||
gameTime | ||
return | void |