예제 #1
0
 /// <summary>
 /// Direction 0 = N, 1 = E, 2 = S & 3 = W
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="direction"></param>
 internal Mower(int x, int y, int direction)
 {
     Position = new Position(x, y);
     Direction = direction;
 }
예제 #2
0
        public void OnBeforeEachTest()
        {
            Lawn.Initialise(5, 5);

            _position = new Position(0, 0);
        }