EDU.gatech.cc.is.clay
Class v_FixedPoint_
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2
|
+--EDU.gatech.cc.is.clay.v_FixedPoint_
- public class v_FixedPoint_
- extends NodeVec2
Always reports the same Vec2. This
is useful for moving to a known location.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
Field Summary |
static boolean |
DEBUG
Turn debug printing on or off. |
Constructor Summary |
v_FixedPoint_(double x,
double y)
Instantiate a v_FixedPoint_ schema. |
Method Summary |
Vec2 |
Value(long timestamp)
Return a constant Vec2. |
Methods inherited from class EDU.gatech.cc.is.clay.Node |
initTrial |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
v_FixedPoint_
public v_FixedPoint_(double x,
double y)
- Instantiate a v_FixedPoint_ schema.
- Parameters:
x
- double, the x coordinate of the point to return.y
- double, the y coordinate of the point to return.
Value
public Vec2 Value(long timestamp)
- Return a constant Vec2.
- Overrides:
- Value in class NodeVec2
- Parameters:
timestamp
- long, not used but retained for compatibility.- Returns:
- the point.