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