Example #1
0
 public Particle(ParticleEmitter parent, Vector gravity, Vector location, 
     Color currentColor, Color targetColor, Vector velocity, Vector scale, string image, int time)
 {
     Parent = parent;
     Gravity = gravity;
     Location = location;
     CurrentColor = currentColor;
     TargetColor = targetColor;
     Velocity = velocity;
     Scale = scale;
     Image = image;
     AnimationTime = time;
 }
 public RectangleParticle(ParticleEmitter parent)
     : base()
 {
     Parent = parent;
     Size = new Vector(0.0f, 0.0f, 0.0f);
 }
 public RectangleParticle(ParticleEmitter parent, Vector gravity, Vector location,
     Color currentColor, Color targetColor, Vector velocity, Vector scale, Vector size, string image, int time)
     : base(parent, gravity, location, currentColor, targetColor, velocity, scale, image, time)
 {
     Size = size;
 }