Beispiel #1
0
        private void NextRound()
        {
            //++PlayedMoves;
            var next = Next;

            Next    = GenerateInput.GenerateNext(1)[0];
            Current = next;
            //Next = GenerateInput.GenerateNext(1)[0];
        }
Beispiel #2
0
        private void NewGame()
        {
            ClearedLines = 0;
            PlayedMoves  = 0;
            Ended        = false;
            _grid        = new Grid(20, 10);
            var cubes = GenerateInput.GenerateNext(2);

            Current = cubes[0];
            Next    = cubes[1];
            RedrawGrid();
        }