world
Class Airport

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

public class Airport
extends Station

An airport.

Author:
Piotrek

Field Summary
 
Fields inherited from class world.Station
 
Fields inherited from class world.WorldObject
name
 
Constructor Summary
Airport(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

Airport

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

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