EDU.cmu.cs.coral.simulation
Interface SimulatedTerrainObject

All Known Implementing Classes:
TerrainSim

public interface SimulatedTerrainObject
extends SimulatedObject

If you want to include a new terrain object for TeamBots simulation, you must implement this interface.

These methods are used by other simulated objects to either generate simulated sensor values or reproduce accurate dynamic results.

Copyright (c)1998 Tucker Balch and Carnegie Mellon University


Method Summary
 double getTraversability()
          Return the traversability of this terrain.
 
Methods inherited from interface EDU.gatech.cc.is.simulation.SimulatedObject
checkCollision, checkCollision, clearTrail, draw, draw, drawIcon, drawID, drawState, drawTrail, getCenter, getClosestPoint, getID, getPosition, getVisionClass, init, isObstacle, isPickupable, isPushable, pickUp, push, putDown, quit, receive, setID, setTrailLength, setVisionClass, takeStep
 

Method Detail

getTraversability

public double getTraversability()
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).