roboplayer.fsm
Class Condition

java.lang.Object
  |
  +--roboplayer.fsm.Condition
Direct Known Subclasses:
BallCatched, BallInArea, CanKick, GameStarted, IsNearestToBall

public abstract class Condition
extends java.lang.Object

This class represents condition.

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
Condition()
           
 
Method Summary
abstract  boolean evaluate(RoboCore rc)
          Evaluate condition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Condition

public Condition()
Method Detail

evaluate

public abstract boolean evaluate(RoboCore rc)
Evaluate condition

Returns:
true if condition is met.