roboplayer.fsm.condition
Class BallCatched

java.lang.Object
  |
  +--roboplayer.fsm.Condition
        |
        +--roboplayer.fsm.condition.BallCatched

public class BallCatched
extends Condition

This condition check if can kick the ball

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
BallCatched()
           
 
Method Summary
 boolean evaluate(RoboCore rc)
          Check distance to the ball
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BallCatched

public BallCatched()
Method Detail

evaluate

public boolean evaluate(RoboCore rc)
Check distance to the ball

Specified by:
evaluate in class Condition
Returns:
true if condition is met.