world
Class City

java.lang.Object
  extended byworld.WorldObject
      extended byworld.City

public class City
extends WorldObject

A city.

Author:
Piotrek

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

City

public City(Location location,
            java.lang.String name)
Constructor.

Parameters:
location - A location of the new city.
name - A name of this city.