All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.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

Version:
$Revision: 1.2 $
Author:
Tucker Balch

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o v_FixedPoint_(double, double)
Instantiate a v_FixedPoint_ schema.

Method Index

 o Value(long)
Return a constant Vec2.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debug printing on or off.

Constructors

 o 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.

Methods

 o Value
 public Vec2 Value(long timestamp)
Return a constant Vec2.

Parameters:
timestamp - long, not used but retained for compatibility.
Returns:
the point.
Overrides:
Value in class NodeVec2

All Packages  Class Hierarchy  This Package  Previous  Next  Index