|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use City | |
---|---|
main |
Uses of City in main |
---|
Subclasses of City in main | |
---|---|
class |
ImageMapCity
The ImageMapCity class contains all of the necessary
information to plot a city on an image map. |
Fields in main declared as City | |
---|---|
private City |
DrawableNode.city
|
Fields in main with type parameters of type City | |
---|---|
private java.util.ArrayList<City> |
CityFinder.cities
|
Methods in main that return City | |
---|---|
City |
DrawableNode.getCity()
Returns the location of the node. |
private City |
CityFinder.returnClosestCity(Position position,
int dimension)
|
City |
CityFinder.returnClosestCity2d(Position position)
Given a position, returns the closest city to it in flattened space |
City |
CityFinder.returnClosestCity3d(Position position)
Given a position, returns the closest city to it in space |
Methods in main with parameters of type City | |
---|---|
boolean |
ImageMapCity.cityEquals(City other)
is other City equal to this one? |
boolean |
City.equals(City other)
is other object equal to this one? |
private int |
GenerateMap.findCityInDrawableNodes(java.util.ArrayList<DrawableNode> drawableNodes,
City city)
counts the number of nodes having the given city |
Constructors in main with parameters of type City | |
---|---|
DrawableNode(java.lang.Integer id,
java.awt.Point point,
java.awt.Color color,
int size,
City city)
Creates a new DrawableNode with the arguments. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |