Beispiel #1
0
 /// <summary>
 /// Returns the command to move this ship in a direction.
 /// </summary>
 public Command Move(MapCell target, string comment) => Move(target.position, comment);
Beispiel #2
0
 public List <Direction> GetAllDirectionsTo(MapCell cell) => GetAllDirectionsTo(cell.position);