world
Class TrainStation

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

public class TrainStation
extends Station

A train station.

Author:
Piotrek

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

TrainStation

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

Parameters:
location - A location of the new train station.
name - A name of this train station.