Ejemplo n.º 1
0
        public BoardExit(
			Coordinate coordinate,
			BoardExitDirection direction,
			Guid destinationBoardId,
			Coordinate destinationCoordinate)
        {
            _coordinate = coordinate;
            _direction = direction;
            _destinationBoardId = destinationBoardId;
            _destinationCoordinate = destinationCoordinate;
        }
 public string Serialize(BoardExitDirection boardExitDirection)
 {
     return boardExitDirection.ToString();
 }