DE.purple_sunshine.bigbro
Class PathElement
java.lang.Object
|
+--DE.purple_sunshine.bigbro.PathElement
- public class PathElement
- extends java.lang.Object
An Element within a Path inside the house.
- Since:
- JDK1.1
- Version:
- 1.0
- Author:
- Holger Wagner
|
Constructor Summary |
PathElement(PathArea area,
java.awt.Point point)
Constructs a new PathElement. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathElement
public PathElement(PathArea area,
java.awt.Point point)
- Constructs a new PathElement.
- Parameters:
area - the area to which this element belongspoint - the point within that area that shall be traversed
getPoint
public java.awt.Point getPoint()
getPathArea
public PathArea getPathArea()
getHitTime
public double getHitTime()
- Returns the time at which this point shall be reached by the Person
(between 0.0 and 1.0 on the time scale of the whole path).
- Returns:
- the time at which this point shall be reached by the Person
setHitTime
public void setHitTime(double hitTime)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
© 2000, Holger Wagner, Purple Sunshine Productions.