|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.traffic.infrastructure.Roaduser
org.jscience.architecture.traffic.infrastructure.Bicycle
public class Bicycle
Cycling through our world on two wheels. Aint it great to be alive?
| Field Summary | |
|---|---|
protected int |
length
DOCUMENT ME! |
protected int |
passengers
DOCUMENT ME! |
protected int |
speed
DOCUMENT ME! |
protected int |
type
DOCUMENT ME! |
| 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 | |
|---|---|
Bicycle()
Empty constructor for loading |
|
Bicycle(Node new_startNode,
Node new_destNode,
int pos)
Creates a new Bicycle object. |
|
| Method Summary | |
|---|---|
int |
getLength()
DOCUMENT ME! |
java.lang.String |
getName()
DOCUMENT ME! |
int |
getNumPassengers()
DOCUMENT ME! |
int |
getSpeed()
Returns the speed of this Roaduser in blocks per cycle |
int |
getType()
DOCUMENT ME! |
java.lang.String |
getXMLName()
DOCUMENT ME! |
void |
paint(java.awt.Graphics g,
int x,
int y,
float zf)
DOCUMENT ME! |
void |
paint(java.awt.Graphics g,
int x,
int y,
float zf,
double dlangle)
DOCUMENT ME! |
| 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 |
| Field Detail |
|---|
protected final int type
protected final int length
protected final int speed
protected final int passengers
| Constructor Detail |
|---|
public Bicycle(Node new_startNode,
Node new_destNode,
int pos)
new_startNode - DOCUMENT ME!new_destNode - DOCUMENT ME!pos - DOCUMENT ME!public Bicycle()
| Method Detail |
|---|
public java.lang.String getName()
getName in class Roaduserpublic int getSpeed()
getSpeed in class Roaduserpublic int getLength()
getLength in class Roaduserpublic int getNumPassengers()
getNumPassengers in class Roaduserpublic int getType()
getType in class Roaduser
public void paint(java.awt.Graphics g,
int x,
int y,
float zf)
paint in class Roaduserg - DOCUMENT ME!x - DOCUMENT ME!y - DOCUMENT ME!zf - DOCUMENT ME!
public void paint(java.awt.Graphics g,
int x,
int y,
float zf,
double dlangle)
paint in class Roaduserg - DOCUMENT ME!x - DOCUMENT ME!y - DOCUMENT ME!zf - DOCUMENT ME!dlangle - DOCUMENT ME!public java.lang.String getXMLName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||