Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //scout moves to minerals and starts mining
- if(!scout.isCarryingMinerals())
- {
- try {
- game.drawTextMap(scout.getPosition(), "Not Carrying");
- scout.move(BWTA.getNearestChokepoint(homeBase.getCenter().getPosition()).getPoint());
- TimeUnit.MILLISECONDS.sleep(10);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- } else {
- game.drawTextMap(scout.getPosition(), "Carrying");
- //scout is now holding a mineral
- scout.returnCargo();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement