roboplayer.fsm.condition
Class CanKick

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

public class CanKick
extends Condition

This condition check if can kick the ball

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
CanKick()
           
 
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

CanKick

public CanKick()
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.