de.steeringbehaviors.simulation.simulationobjects
Class TileNeighborhood.TileInformation

java.lang.Object
  extended by de.steeringbehaviors.simulation.simulationobjects.TileNeighborhood.TileInformation
Enclosing class:
TileNeighborhood

public class TileNeighborhood.TileInformation
extends java.lang.Object

The TileInformation class holds special informations for each tile. First it shows, if the tile is accessible for vehicles, or if it is blocked by one or more obstacles. The list of vehicles contains all the vehicles where the centerpoint is inside the tile. The list of obstacles contains all obstacles that cross or cover the tile.


Field Summary
 boolean m_accessible
          Accessible shows, if a vehicle is allowed to enter this tile
 java.util.Vector m_obstacles
          This array holds all obstacles that are inside the tile, or cross the tile in any way
 java.util.LinkedList m_vehicles
          This linked list holds all vehicles that are inside the tile, e.g. their center position is inside the tile
 
Constructor Summary
TileNeighborhood.TileInformation()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_accessible

public boolean m_accessible
Accessible shows, if a vehicle is allowed to enter this tile


m_vehicles

public java.util.LinkedList m_vehicles
This linked list holds all vehicles that are inside the tile, e.g. their center position is inside the tile


m_obstacles

public java.util.Vector m_obstacles
This array holds all obstacles that are inside the tile, or cross the tile in any way

Constructor Detail

TileNeighborhood.TileInformation

public TileNeighborhood.TileInformation()