EDU.gatech.cc.is.clay
Class d_FixedDouble_
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeScalar
|
+--EDU.gatech.cc.is.clay.NodeDouble
|
+--EDU.gatech.cc.is.clay.d_FixedDouble_
- public class d_FixedDouble_
- extends NodeDouble
Always reports the same double.
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 |
d_FixedDouble_(double x)
Instantiate a d_FixedDouble_ schema. |
Method Summary |
double |
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.
d_FixedDouble_
public d_FixedDouble_(double x)
- Instantiate a d_FixedDouble_ schema.
- Parameters:
x
- double, the x value to report;
Value
public double Value(long timestamp)
- Return a constant Vec2.
- Overrides:
- Value in class NodeDouble
- Parameters:
timestamp
- long, not used but retained for compatibility.- Returns:
- the double.