All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaSoccer.teams.b_BehindBall_r

java.lang.Object
   |
   +----EDU.gatech.cc.is.clay.Node
           |
           +----EDU.gatech.cc.is.clay.NodeScalar
                   |
                   +----EDU.gatech.cc.is.clay.NodeBoolean
                           |
                           +----JavaSoccer.teams.b_BehindBall_r

public class b_BehindBall_r
extends NodeBoolean
Report if behind the ball or not. This module is a node used in Clay to configure soccer behaviors.

For detailed information on how to configure behaviors, see the Clay page.

Copyright (c)1997, 1998 Tucker Balch

Version:
$Revision: 1.1 $
Author:
Tucker Balch

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o b_BehindBall_r(SocSmall)
Instantiate a b_BehindBall_r schema.

Method Index

 o Value(long)
Return a boolean indicating if behind the ball or not.

Variables

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

Constructors

 o b_BehindBall_r
 public b_BehindBall_r(SocSmall ar)
Instantiate a b_BehindBall_r schema.

Parameters:
ar - SocSmall, the abstract_robot object that provides hardware support.

Methods

 o Value
 public boolean Value(long timestamp)
Return a boolean indicating if behind the ball or not.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
true if behind the ball, false otherwise.
Overrides:
Value in class NodeBoolean

All Packages  Class Hierarchy  This Package  Previous  Next  Index