vanetsim.scenario.events
Class BlockingObject

java.lang.Object
  extended by vanetsim.scenario.LaneObject
      extended by vanetsim.scenario.events.BlockingObject

public class BlockingObject
extends LaneObject


Constructor Summary
BlockingObject(int lane, boolean direction, Street street, double position)
          Instantiates a new blocking object.
 
Method Summary
 void removeFromLane()
          Remove this BlockingObject from it's current lane.
 
Methods inherited from class vanetsim.scenario.LaneObject
getCurDirection, getCurLane, getCurPosition, getCurSpeed, getCurStreet, getNext, getPrevious, getX, getY, setNext, setPrevious
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingObject

public BlockingObject(int lane,
                      boolean direction,
                      Street street,
                      double position)
Instantiates a new blocking object.

Parameters:
lane - the lane number (1..n)
direction - the direction
street - the street
position - the position on the street
Method Detail

removeFromLane

public void removeFromLane()
Remove this BlockingObject from it's current lane.