예제 #1
0
        void LaunchGame()
        {
            if (m_iSelectedFloor >= 0)
            {
                m_Game.Tutorial.FinishPiece(TutorialSystem.TutorialPiece.FloorPlay);
                FloorDisplay floor = m_Floors[m_iSelectedFloor];

                // Launch the puzzle
                GameScene gs = new GameScene(m_Game);
                gs.Initialize(floor.Floor, m_iTower + 3, true);
                m_Game.GotoScene(gs);
            }
        }
예제 #2
0
 void ActivateTower(Tower t)
 {
     if (t.Locked)
     {
         ShowLockedMessage();
     }
     else
     {
         // Launch the puzzle
         GameScene gs = new GameScene(Game);
         gs.Initialize(t.Floor, t.Size, true);
         Game.GotoScene(gs);
     }
 }
예제 #3
0
        void LaunchGame()
        {
            if (m_iSelectedFloor >= 0)
            {
                m_Game.Tutorial.FinishPiece(TutorialSystem.TutorialPiece.FloorPlay);
                FloorDisplay floor = m_Floors[m_iSelectedFloor];

                // Launch the puzzle
                GameScene gs = new GameScene(m_Game);
                gs.Initialize(floor.Floor, m_iTower + 3, true);
                m_Game.GotoScene(gs);
            }
        }
예제 #4
0
 void ActivateTower(Tower t)
 {
     if (t.Locked)
         ShowLockedMessage();
     else
     {
         // Launch the puzzle
         GameScene gs = new GameScene(Game);
         gs.Initialize(t.Floor, t.Size, true);
         Game.GotoScene(gs);
     }
 }