org.jscience.architecture.traffic.infrastructure
Class PacCar

java.lang.Object
  extended by org.jscience.architecture.traffic.infrastructure.Roaduser
      extended by org.jscience.architecture.traffic.infrastructure.Automobile
          extended by org.jscience.architecture.traffic.infrastructure.Car
              extended by org.jscience.architecture.traffic.infrastructure.PacCar
All Implemented Interfaces:
java.lang.Cloneable, Selectable, SelectionStarter, TwoStageLoader, XMLSerializable

public class PacCar
extends Car

PacCar, not standard...


Field Summary
 
Fields inherited from class org.jscience.architecture.traffic.infrastructure.Car
length, passengers, speed, type
 
Fields inherited from class org.jscience.architecture.traffic.infrastructure.Automobile
soundFileName
 
Fields inherited from class org.jscience.architecture.traffic.infrastructure.Roaduser
color, cycleAsked, cycleMoved, delay, destNode, drivelaneStartTime, inQueueForSign, loadData, parentName, position, prevSign, prevWaitPos, prevWaitTl, prevWaitTlColor, startNode, voted, waitPos, waitTl, waitTlColor
 
Constructor Summary
PacCar()
          Empty constructor for loading
PacCar(Node new_startNode, Node new_destNode, int pos)
           
 
Method Summary
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String getXMLName()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.architecture.traffic.infrastructure.Car
getLength, getNumPassengers, getSpeed, getType, paint, paint
 
Methods inherited from class org.jscience.architecture.traffic.infrastructure.Automobile
toot
 
Methods inherited from class org.jscience.architecture.traffic.infrastructure.Roaduser
addDelay, clone, didMove, didVote, getBounds, getCenterPoint, getChildren, getColor, getComplexBounds, getCurrentWaitPos, getCurrentWaitTl, getCurrentWaitTlColor, getCycleAsked, getCycleMoved, getDelay, getDescription, getDestNode, getDistance, getDrivelaneStartTime, getDriverName, getInQueueForSign, getPicture, getPosition, getPrevSign, getPrevWaitPos, getPrevWaitTl, getPrevWaitTlColor, getSelectionPoint, getSelectionPoints, getSound, getStartNode, getVehicleName, hasChildren, isSelectable, load, loadSecondStage, paint, paint, resetStats, saveChilds, saveSelf, setColor, setCycleAsked, setCycleMoved, setDelay, setDestNode, setDrivelaneStartTime, setInQueueForSign, setParentName, setPosition, setPrevSign, setStartNode, setVoted, setWaitPos
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacCar

public PacCar(Node new_startNode,
              Node new_destNode,
              int pos)

PacCar

public PacCar()
Empty constructor for loading

Method Detail

getName

public java.lang.String getName()
Description copied from class: Car
DOCUMENT ME!

Overrides:
getName in class Car
Returns:
DOCUMENT ME!

getXMLName

public java.lang.String getXMLName()
Description copied from class: Car
DOCUMENT ME!

Specified by:
getXMLName in interface XMLSerializable
Overrides:
getXMLName in class Car
Returns:
DOCUMENT ME!