|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Airport
The interface for an airport's functionality.
| Field Summary |
|---|
| Fields inherited from interface jasi.sim.basic.element.Element |
|---|
COMPARATOR |
| Method Summary | |
|---|---|
Coordinate |
getCoordinate()
Get the airport's coordinate. |
java.lang.String |
getName()
Get the airport's name. |
boolean |
hasAirplane(Airplane airplane)
Check, if airport contains that airplane. |
boolean |
landAirplane(Airplane airplane)
Land that airplane on this airport. |
boolean |
startAirplane(Airplane airplane)
Start that airplane from this 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 |
|---|
boolean hasAirplane(Airplane airplane)
airplane - That airplane.
boolean landAirplane(Airplane airplane)
airplane - That airplane.
boolean startAirplane(Airplane airplane)
airplane - That airplane.
java.lang.String getName()
Coordinate getCoordinate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||