Exemple #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;
 }
Exemple #2
0
 public Waypoint GetWaypoint(Coordinates c)
 {
     return waypoints.Find(x => x.Location.X == c.X && x.Location.Y == c.Y);
 }
Exemple #3
0
 public bool HasWaypoint(Coordinates c)
 {
     return waypoints.Exists(x => x.Location.X == c.X && x.Location.Y == c.Y);
 }