public interface IWaypointCollection
Modifier and Type | Method and Description |
---|---|
void |
addWaypoint(IWaypoint waypoint)
Adds a waypoint to this collection
|
java.util.Set<IWaypoint> |
getAllWaypoints()
Gets all of the waypoints in this collection, regardless of the tag.
|
java.util.Set<IWaypoint> |
getByTag(IWaypoint.Tag tag)
Gets all of the waypoints that have the specified tag
|
IWaypoint |
getMostRecentByTag(IWaypoint.Tag tag)
Gets the most recently created waypoint by the specified
IWaypoint.Tag |
void |
removeWaypoint(IWaypoint waypoint)
Removes a waypoint from this collection
|
void addWaypoint(IWaypoint waypoint)
waypoint
- The waypointvoid removeWaypoint(IWaypoint waypoint)
waypoint
- The waypointIWaypoint getMostRecentByTag(IWaypoint.Tag tag)
IWaypoint.Tag
tag
- The tagjava.util.Set<IWaypoint> getByTag(IWaypoint.Tag tag)
tag
- The taggetAllWaypoints()
java.util.Set<IWaypoint> getAllWaypoints()
getByTag(IWaypoint.Tag)