|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectworld.WorldObject
world.City
A city.
Field Summary |
Fields inherited from class world.WorldObject |
name |
Constructor Summary | |
City(Location location,
java.lang.String name)
Constructor. |
Methods inherited from class world.WorldObject |
GetLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public City(Location location, java.lang.String name)
location
- A location of the new city.name
- A name of this city.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |