Пример #1
0
 public TitleScene(int selectIndex, bool arcadeMode)
 {
     currentState  = State.None;
     gotoGame      = false;
     gotoGameCount = 0;
     exit          = false;
     exitCount     = 0;
     numTicks      = 0;
     titleMap      = new int[16, 21];
     for (int row = 0; row < 16; row++)
     {
         for (int col = 0; col < 21; col++)
         {
             titleMap[row, col] = 0;
         }
     }
     game               = new GameSceneForTitleScene(16, 21);
     game.Camera        = new Vector(16, 16);
     currentSelectIndex = selectIndex;
     this.arcadeMode    = arcadeMode;
     audio              = null;
 }
Пример #2
0
 public TitleScene(int selectIndex, bool arcadeMode)
 {
     currentState = State.None;
     gotoGame = false;
     gotoGameCount = 0;
     exit = false;
     exitCount = 0;
     numTicks = 0;
     titleMap = new int[16, 21];
     for (int row = 0; row < 16; row++)
     {
         for (int col = 0; col < 21; col++)
         {
             titleMap[row, col] = 0;
         }
     }
     game = new GameSceneForTitleScene(16, 21);
     game.Camera = new Vector(16, 16);
     currentSelectIndex = selectIndex;
     this.arcadeMode = arcadeMode;
     audio = null;
 }