world
Class Harbour

java.lang.Object
  extended byworld.WorldObject
      extended byworld.Station
          extended byworld.Harbour

public class Harbour
extends Station

A harbour.

Author:
Piotrek

Field Summary
 
Fields inherited from class world.Station
 
Fields inherited from class world.WorldObject
name
 
Constructor Summary
Harbour(Location location, java.lang.String name)
          Constructor.
 
Methods inherited from class world.Station
equals, GetMeanOfTransportation, IsEqual
 
Methods inherited from class world.WorldObject
GetLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Harbour

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

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