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.
 
Method Summary
 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).
 PathArea getPathArea()
           
 java.awt.Point getPoint()
           
 void setHitTime(double hitTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathElement

public PathElement(PathArea area,
                   java.awt.Point point)
Constructs a new PathElement.
Parameters:
area - the area to which this element belongs
point - the point within that area that shall be traversed
Method Detail

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.