Esempio n. 1
0
        public GridArea AdjacentRight()
        {
            var nextTopLeft     = _bottomRight.MoveToRowOf(_topLeft).MoveRight(1);
            var nextBottomRight = _bottomRight.MoveRight(1);

            return(new GridArea(nextTopLeft, nextBottomRight));
        }
 public void NextLevel()
 {
     _levelStartPosition = _orientation == GridOrientation.Horizontal
         ? _levelStartPosition.MoveDown(1)
         : _levelStartPosition.MoveRight(1);
     _currentSlot = new GridArea(_levelStartPosition, _levelStartPosition);
 }