background
Class VerticalRoad

java.lang.Object
  |
  +--background.Background
        |
        +--background.Road
              |
              +--background.VerticalRoad

public class VerticalRoad
extends Road


Field Summary
 
Fields inherited from class background.Road
isVertical
 
Fields inherited from class background.Background
externalName, height, width, xCoor, yCoor
 
Constructor Summary
VerticalRoad(double x, double y, double w, double h)
          Initialize variables for the vehicle
 
Methods inherited from class background.Road
draw
 
Methods inherited from class background.Background
getHeight, getName, getWidth, getX, getY, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalRoad

public VerticalRoad(double x,
                    double y,
                    double w,
                    double h)
Initialize variables for the vehicle

Parameters:
x - x-coordinate of Road in the world
y - y-coordinate of Road in the world