Exemplo n.º 1
0
 public DefaultParticleFactory(Vector2 acceleration, Vector2 velocity, float lifeTime, float mass, float startAlpha = 255, float endAlpha = 0f)
 {
     Settings = new ParticleSettings
     {
         Acceleration = acceleration,
         Velocity     = velocity,
         LifeTime     = lifeTime,
         StartAlpha   = startAlpha,
         EndAlpha     = endAlpha,
         Mass         = mass,
     };
 }
Exemplo n.º 2
0
 public DefaultParticleFactory(ParticleSettings settings)
 {
     Settings = settings;
 }