EDU.gatech.cc.is.abstractrobot
Interface KickActuator

All Known Subinterfaces:
SocSmall

public interface KickActuator

Interface to a kicking actuator for a soccer robot.

Copyright (c)1997, 1998 Tucker R. Balch

See Also:
SocSmall

Method Summary
 boolean canKick(long timestamp)
          Reveals whether or not the ball is in a position to be kicked.
 void kick(long timestamp)
          If the ball can be kicked, kick it.
 

Method Detail

canKick

public boolean canKick(long timestamp)
Reveals whether or not the ball is in a position to be kicked.
Parameters:
timestamp - only get new information if timestamp > than last call or timestamp == -1.
Returns:
true if the ball can be kicked, false otherwise.

kick

public void kick(long timestamp)
If the ball can be kicked, kick it.
Parameters:
timestamp - not used, but retained for compatibility.