コード例 #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();
 }
コード例 #2
0
ファイル: Level.cs プロジェクト: weimingtom/MarioGame
 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();
 }