예제 #1
0
        public void BlocksFound(IEnumerable<Block> blocks)
        {
            var squaresFound = blocks.SelectMany(b => b.BoardCoordinates).Count();

            _rotationInformation = new RotationInformation(_rotationInformation.RotationsLeft + squaresFound);
        }
예제 #2
0
 public void RotationMade()
 {
     _rotationInformation = new RotationInformation(_rotationInformation.RotationsLeft - 1);
 }
예제 #3
0
 public RotationManager(IGameStartConditions gameStartConditions)
 {
     _rotationInformation = new RotationInformation(gameStartConditions.StartRotations);
 }