예제 #1
0
 /// <summary>
 /// Start game
 /// </summary>
 public static void StartGame()
 {
     isUnitTest = false;
     using (TetrisGame game = new TetrisGame())
     {
         game.Run();
     } // using (game)
 }
예제 #2
0
 public NextBlock(TetrisGame setGame, Rectangle setNextBlockRect)
     : base(setGame)
 {
     game = setGame;
     nextBlockRect = setNextBlockRect;
 }