|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--mission.BasicMission
A basic implementation of the Mission interface.
| Field Summary | |
private static long |
serialVersionUID
|
private List |
targets
The list of objects. |
private List |
units
The list of objects. |
| Constructor Summary | |
BasicMission(List targets,
List units)
|
|
| Method Summary | |
List |
getTargets()
Return the List of all the targets. |
List |
getUnits()
Return the List of all units currently involved in
this mission. |
protected String |
printList(List list)
Return a String of the items in the list, separated by commas. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private final List targets
private final List units
| Constructor Detail |
public BasicMission(List targets,
List units)
| Method Detail |
public List getTargets()
MissionList of all the targets. Targets are
inferred to be execute in fifo order, with the first target
being the first in the list and so on.
getTargets in interface Missionpublic List getUnits()
MissionList of all units currently involved in
this mission. It is inferred that all units are to interact
with all targets, though the behavior upon contact will differ
due to the unit's nature.
getUnits in interface Missionpublic String toString()
toString in class Objectprotected String printList(List list)
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||