|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Airplane
The interface for an airplane's functionality.
Field Summary |
---|
Fields inherited from interface jasi.sim.basic.element.Element |
---|
COMPARATOR |
Method Summary | |
---|---|
Coordinate |
calculate(Time time)
Calculate actual coordinate. |
java.lang.String |
getName()
Get the airplane's name. |
boolean |
isFlying()
Check, if this airplane is flying. |
void |
land(Airport airport)
Land this airplane at that airport. |
void |
start(Airport airport,
Flight flight)
Start this airplane from that airport. |
Methods inherited from interface jasi.sim.basic.element.Element |
---|
delete, getKey, isDeleted, registered, setKey |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface jasi.sim.basic.id.SimObject |
---|
getId, setId |
Method Detail |
---|
java.lang.String getName()
boolean isFlying()
void start(Airport airport, Flight flight)
airport
- That airport.flight
- The flight.void land(Airport airport)
airport
- That airport.Coordinate calculate(Time time)
time
- The actual time.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |