All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.v_Average_va
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeVec2
|
+----EDU.gatech.cc.is.clay.v_Average_va
- public class v_Average_va
- extends NodeVec2
This node generates a vector that is the average of the
incoming list.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
DEBUG
-
-
v_Average_va(NodeVec2Array)
- Instantiate a v_Average_va schema.
-
Value(long)
- Return a Vec2 representing the direction to go away from
the detected hazards.
DEBUG
public static final boolean DEBUG
v_Average_va
public v_Average_va(NodeVec2Array im1)
- Instantiate a v_Average_va schema.
- Parameters:
- im1 - NodeVec2Array, the embedded node that generates a list
of items to average.
Value
public Vec2 Value(long timestamp)
- Return a Vec2 representing the direction to go away from
the detected hazards.
- Parameters:
- timestamp - long, only get new
information if timestamp > than last call or timestamp == -1.
- Returns:
- the average vector.
- Overrides:
- Value in class NodeVec2
All Packages Class Hierarchy This Package Previous Next Index