|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Plane | |
---|---|
airspace | Provides classes for handling the planes. |
graphics | Provides classes for showing the graphics. |
Uses of Plane in airspace |
---|
Fields in airspace with type parameters of type Plane | |
---|---|
private java.util.ArrayList<Plane> |
AirControl.planes
ArrayList of Planes currently on map. |
Methods in airspace that return types with arguments of type Plane | |
---|---|
java.util.ArrayList<Plane> |
AirControl.getPlanes()
Returns list of Planes currently on map. |
java.util.ArrayList<Plane> |
AirControlInterface.getPlanes()
Returns a list of the Planes currently on the map. |
Methods in airspace with parameters of type Plane | |
---|---|
private TreeNode |
AirControl.closestMergePoint(Plane plane,
int arc)
Find the closest merge point to Plane. |
private TreeNode |
AirControl.closestTNToPlane(Plane plane)
Find closest TreeNode to Plane. |
int |
Plane.compareTo(Plane other)
This method is required to implement the Comparable interface. |
double |
Plane.distanceTo(Plane other)
Calculates distance between two planes. |
private boolean |
AirControl.flyPlane(Plane plane)
Calculates distance to travel and the tells Plane to fly it. |
private void |
AirControl.newPath(Plane plane)
Creates a new path for Plane to fly. |
TreeNode |
AirControl.testingclosestMergePoint(Plane plane,
int arc)
Created for testing closestMergePoint. |
TreeNode |
AirControl.testingClosestTNToPlane(Plane plane)
Created for testing closestTNToPlane. |
boolean |
AirControl.testingFlyPlane(Plane plane)
Created for testing flyPlane. |
void |
AirControl.testingNewPath(Plane plane)
Created for testing newPath. |
Uses of Plane in graphics |
---|
Method parameters in graphics with type arguments of type Plane | |
---|---|
private boolean |
GraphicsEngine.graphicsRenderAirspace(java.awt.Graphics2D g2,
java.util.ArrayList<Plane> planes)
Render planes and plane paths to OffScreen- image. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |