The Class that calls everything Defalt Class Authors Hugh Corrigan, Ahmed Warreth, Dermot Kirby
Inheritance: Microsoft.Xna.Framework.Game
Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Engine game = new Engine())
     {
         game.Run();
     }
 }
Example #2
0
 public ColouredParticle(Engine game, int howManyEffects,int Colour)
     : base(game, howManyEffects)
 {
     this.Colour = Colour;
 }
Example #3
0
 public PurpleParticle(Engine game, int howManyEffects)
     : base(game, howManyEffects)
 {
 }
 public ExplosionSmokeParticleSystem(Engine game, int howManyEffects)
     : base(game, howManyEffects)
 {
 }
Example #5
0
 /// <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;
 }
Example #6
0
 public GreenParticle(Engine game, int howManyEffects)
     : base(game, howManyEffects)
 {
 }