/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Engine game = new Engine()) { game.Run(); } }
public ColouredParticle(Engine game, int howManyEffects,int Colour) : base(game, howManyEffects) { this.Colour = Colour; }
public PurpleParticle(Engine game, int howManyEffects) : base(game, howManyEffects) { }
public ExplosionSmokeParticleSystem(Engine game, int howManyEffects) : base(game, howManyEffects) { }
/// <summary> /// Constructs a new ParticleSystem. /// </summary> /// <param name="game">The host for this particle system. The game keeps the /// content manager and sprite batch for us.</param> /// <param name="howManyEffects">the maximum number of particle effects that /// are expected on screen at once.</param> /// </summary> protected ParticleSystem(Engine game, int howManyEffects) : base(game) { this.game = game; this.howManyEffects = howManyEffects; }
public GreenParticle(Engine game, int howManyEffects) : base(game, howManyEffects) { }