protected override bool OnEvaluate(IAgent agent, BlackboardMemory workingMemory) { Tank t = (Tank)agent; return(t.CanFire()); }