Exemple #1
0
 public HordeLevel(Game game, GraphicsDeviceManager graphics)
 {
     this.UndergroundDict = new Dictionary <Vector2, Vector2>();
     this.CurrentGame     = game;
     this.Graphics        = graphics;
     this.Updater         = new LevelUpdater(this, game);
     this.Drawer          = new LevelDrawer(this);
     this.Time            = LevelHordConfig.LevelTime;
     this.LoadContent();
 }
Exemple #2
0
 public Level(Game game, GraphicsDeviceManager graphics, String levelLoadFile, MarioPowerLevel origPower)
 {
     this.OriginalPowerLevel = origPower;
     this.LevelLoadString    = levelLoadFile;
     this.UndergroundDict    = new Dictionary <Vector2, Vector2>();
     this.CurrentGame        = game;
     this.Graphics           = graphics;
     this.Updater            = new LevelUpdater(this, game);
     this.Drawer             = new LevelDrawer(this);
     this.Time = Level1Config.LevelTime;
     this.LoadContent();
 }