public static class RouteManager.RouteSegment extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
custom |
float |
daysMax |
float |
elapsed |
SectorEntityToken |
from |
java.lang.Integer |
id |
SectorEntityToken |
to |
| Constructor and Description |
|---|
RouteSegment(float daysMax,
SectorEntityToken from) |
RouteSegment(float daysMax,
SectorEntityToken from,
java.lang.Object custom) |
RouteSegment(float daysMax,
SectorEntityToken from,
SectorEntityToken to) |
RouteSegment(java.lang.Integer id,
float daysMax,
SectorEntityToken from) |
RouteSegment(java.lang.Integer id,
float daysMax,
SectorEntityToken from,
java.lang.Object custom) |
RouteSegment(java.lang.Integer id,
float daysMax,
SectorEntityToken from,
SectorEntityToken to) |
RouteSegment(java.lang.Integer id,
float daysMax,
SectorEntityToken from,
SectorEntityToken to,
java.lang.Object custom) |
RouteSegment(java.lang.Integer id,
SectorEntityToken from,
SectorEntityToken to) |
| Modifier and Type | Method and Description |
|---|---|
LocationAPI |
getContainingLocationFrom() |
LocationAPI |
getContainingLocationTo() |
LocationAPI |
getCurrentContainingLocation() |
SectorEntityToken |
getDestination() |
float |
getEnterProgress() |
SectorEntityToken |
getFrom() |
int |
getId() |
float |
getLeaveProgress() |
float |
getProgress() |
float |
getTransitProgress() |
boolean |
hasEnterSystemPhase() |
boolean |
hasLeaveSystemPhase() |
boolean |
isFromSystemCenter() |
boolean |
isInSystem() |
boolean |
isToSystemCenter() |
boolean |
isTravel() |
public java.lang.Integer id
public float elapsed
public float daysMax
public SectorEntityToken from
public SectorEntityToken to
public java.lang.Object custom
public RouteSegment(java.lang.Integer id, float daysMax, SectorEntityToken from)
public RouteSegment(float daysMax, SectorEntityToken from)
public RouteSegment(java.lang.Integer id, float daysMax, SectorEntityToken from, java.lang.Object custom)
public RouteSegment(float daysMax, SectorEntityToken from, java.lang.Object custom)
public RouteSegment(java.lang.Integer id, float daysMax, SectorEntityToken from, SectorEntityToken to)
public RouteSegment(java.lang.Integer id, SectorEntityToken from, SectorEntityToken to)
public RouteSegment(float daysMax, SectorEntityToken from, SectorEntityToken to)
public RouteSegment(java.lang.Integer id, float daysMax, SectorEntityToken from, SectorEntityToken to, java.lang.Object custom)
public LocationAPI getCurrentContainingLocation()
public LocationAPI getContainingLocationFrom()
public LocationAPI getContainingLocationTo()
public boolean isTravel()
public boolean isInSystem()
public boolean isFromSystemCenter()
public boolean isToSystemCenter()
public boolean hasLeaveSystemPhase()
public boolean hasEnterSystemPhase()
public float getProgress()
public float getEnterProgress()
public float getLeaveProgress()
public float getTransitProgress()
public SectorEntityToken getDestination()
public SectorEntityToken getFrom()
public int getId()