EDU.cmu.cs.coral.simulation
Class HighwaySim

java.lang.Object
  |
  +--EDU.cmu.cs.coral.simulation.TerrainSim
        |
        +--EDU.cmu.cs.coral.simulation.HighwaySim

public class HighwaySim
extends TerrainSim

a road for simulation.

Copyright (c)1998 Tucker Balch and Carnegie Mellon University


Field Summary
static double TRAVERSABILITY
           
 
Fields inherited from class EDU.cmu.cs.coral.simulation.TerrainSim
DEBUG
 
Constructor Summary
HighwaySim()
           
 
Method Summary
 double getTraversability()
          Return the traversability of this terrain.
 
Methods inherited from class EDU.cmu.cs.coral.simulation.TerrainSim
checkCollision, checkCollision, clearTrail, draw, draw, drawIcon, drawID, drawState, drawTrail, getCenter, getClosestPoint, getID, getPosition, getVisionClass, init, init, isObstacle, isPickupable, isPushable, pickUp, push, putDown, quit, receive, setID, setTrailLength, setVisionClass, takeStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRAVERSABILITY

public static final double TRAVERSABILITY
Constructor Detail

HighwaySim

public HighwaySim()
Method Detail

getTraversability

public double getTraversability()
Description copied from interface: SimulatedTerrainObject
Return the traversability of this terrain. Values greater than 1.0 indicate faster than normal speeds (e.g. highways) values less than 1.0 indicate slow terrain (e.g. forest, etc).
Overrides:
getTraversability in class TerrainSim