Свойство | Type | Description | |
---|---|---|---|
_world | World | ||
particles | DodongosQuest.ParticleSystem.Particle[] |
Свойство | Type | Description | |
---|---|---|---|
maxAcceleration | float | ||
maxInitialSpeed | float | ||
maxLifetime | float | ||
maxNumParticles | int | ||
maxRotationSpeed | float | ||
maxScale | float | ||
minAcceleration | float | ||
minInitialSpeed | float | ||
minLifetime | float | ||
minNumParticles | int | ||
minRotationSpeed | float | ||
minScale | float | ||
spriteBlendMode | |||
textureFilename | string |
Méthode | Description | |
---|---|---|
AddParticles ( Vector2 where, Vector2 direction ) : void | ||
Draw ( |
||
Initialize ( ) : void | ||
Update ( |
Méthode | Description | |
---|---|---|
InitializeConstants ( ) : void | ||
InitializeParticle ( |
Initializes a particle
|
|
LoadContent ( ) : void | ||
ParticleSystem ( Game1 game, int howManyEffects ) : System | ||
PickRandomDirection ( ) : Vector2 |
public AddParticles ( Vector2 where, Vector2 direction ) : void | ||
where | Vector2 | |
direction | Vector2 | |
Résultat | void |
public Draw ( |
||
gameTime | ||
Résultat | void |
protected abstract InitializeConstants ( ) : void | ||
Résultat | void |
protected InitializeParticle ( |
||
p | ||
where | Vector2 | |
direction | Vector2 | set to null for a random direction for each particle |
Résultat | void |
protected ParticleSystem ( Game1 game, int howManyEffects ) : System | ||
game | Game1 | |
howManyEffects | int | |
Résultat | System |
protected PickRandomDirection ( ) : Vector2 | ||
Résultat | Vector2 |
public Update ( |
||
gameTime | ||
Résultat | void |
public Particle[],DodongosQuest.ParticleSystem particles | ||
Résultat | DodongosQuest.ParticleSystem.Particle[] |
protected BlendState,Microsoft.Xna.Framework.Graphics spriteBlendMode | ||
Résultat |