Exemplo n.º 1
0
 // Constructor for new Waypoint Generation
 public Waypoint(Coordinates c, MarkerType marker, IslandType island)
 {
     this.Location = c;
     this.Island = island;
     this.Marker = marker;
     this.Name = string.Empty;
     this.Notes = String.Empty;
 }
Exemplo n.º 2
0
 public Waypoint GetWaypoint(Coordinates c)
 {
     return waypoints.Find(x => x.Location.X == c.X && x.Location.Y == c.Y);
 }
Exemplo n.º 3
0
 public bool HasWaypoint(Coordinates c)
 {
     return waypoints.Exists(x => x.Location.X == c.X && x.Location.Y == c.Y);
 }