Copyright Tristan Aubrey-Jones December 2005.
package tajy;
import robocode.Condition;
public class AimedCondition extends Condition
{
TajBot robot;
public AimedCondition(TajBot robot)
{
super("AimedCondition");
this.robot = robot;
}
public boolean test()
{
return (robot.aimBearing == robot.getGunHeading());
}
}