simworldobjects
Class SimRoad

java.lang.Object
  extended bysimworldobjects.BasicSimObject
      extended bysimworldobjects.SimRoad
All Implemented Interfaces:
SimObject

public class SimRoad
extends BasicSimObject

Models a simple wall object

Author:
Graham Ritchie

Constructor Summary
SimRoad(double x, double y, double z, double b, double length, double width)
          Sets up this wall
 
Method Summary
 java.awt.Color getColor()
           
 void setColor(java.awt.Color color)
           
 
Methods inherited from class simworldobjects.BasicSimObject
getActualBearingVelocityXY, getActualBearingVelocityXZ, getActualBearingXY, getActualBearingXZ, getActualVelocity, getDesiredBearingVelocityXY, getDesiredBearingVelocityXZ, getDesiredVelocity, getHeight, getLength, getType, getWidth, getXCoord, getYCoord, getZCoord, setActualBearingVelocityXY, setActualBearingVelocityXZ, setActualBearingXY, setActualBearingXZ, setActualVelocity, setDesiredBearingVelocityXY, setDesiredBearingVelocityXZ, setDesiredVelocity, setXCoord, setYCoord, setZCoord, updateLength, updateWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimRoad

public SimRoad(double x,
               double y,
               double z,
               double b,
               double length,
               double width)
Sets up this wall

Parameters:
x - the wall's x coordinate
y - the wall's y coordinate
z - the wall's z coordinate
b - the wall's bearing
length - the wall's length
width - the wall's width
Method Detail

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color color)