yab.agent.object
Class Road

java.lang.Object
  |
  +--yab.agent.object.RCRObject
        |
        +--yab.agent.object.RealObject
              |
              +--yab.agent.object.MotionlessObject
                    |
                    +--yab.agent.object.Edge
                          |
                          +--yab.agent.object.Road

public class Road
extends Edge


Field Summary
 
Fields inherited from class yab.agent.object.RCRObject
id, object, world
 
Constructor Summary
Road(int id, DisasterSpace world)
           
 
Method Summary
 int block()
           
 int linesToHead()
           
 int linesToTail()
           
 int passableLines()
           
 int passableLinesFrom(PointObject from)
           
 int passableLinesTo(PointObject to)
           
 int passableLinesToHead()
           
 int passableLinesToTail()
           
 int repairCost()
           
 int width()
           
 
Methods inherited from class yab.agent.object.Edge
head, length, neighborhood, tail, x, y
 
Methods inherited from class yab.agent.object.MotionlessObject
motionlessPosition
 
Methods inherited from class yab.agent.object.RealObject
direction, distance, hasBeenSeen
 
Methods inherited from class yab.agent.object.RCRObject
hashCode, produce, setProperty, setProperty, setTime, time, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Road

public Road(int id,
            DisasterSpace world)
Method Detail

width

public int width()

block

public int block()

repairCost

public int repairCost()

linesToHead

public int linesToHead()

linesToTail

public int linesToTail()

passableLinesToHead

public int passableLinesToHead()

passableLinesToTail

public int passableLinesToTail()

passableLinesTo

public int passableLinesTo(PointObject to)

passableLinesFrom

public int passableLinesFrom(PointObject from)

passableLines

public int passableLines()