world
Class BusStop

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

public class BusStop
extends Station

A bus stop.

Author:
Piotrek

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

BusStop

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

Parameters:
location - A location of the new bus stop.
name - A name of this bus stop.