public void go() throws GameActionException { if (rc.senseParts(rc.getLocation()) > 5) { signalSendb.foundSomeParts(70); } moveb.visit(rc.getLocation()); if (attackb.canChertAttack()) attackb.chertAttack(); else { moveb.move(moveb.randomDirectionHasNotVisited()); } reset(); }
public void reset() { attackb.reset(); }