Open zheng-alice opened 7 years ago
To use lumberjackNeeded:
Args: 1st - your RobotController 2nd - MapLocation that you are requesting to 3rd - priority (put something from 10 to 15) 4th - number of lumberjacks you need 5th - if specifying 2nd argument as center of a tree, the tree's radius, otherwise pass 0
Also, if possible, make sure to leave some room for gardeners to be able to arrive.
Also I know we have some methods coming up that manage the census, post instructions when they are ready.
Leave comments with methods that you would like others to use in their code with instructions if possible. These can be public methods in PublicMethods.java, public methods in your robot's class, or private methods that need copying and modifying.
Current methods that should be called: donateBullets - donating bullets shakeATree - shaking trees Lumberjack.lumberjackNeeded - request some lumberjacks Soldier.reportCombatLocation - report location for soldiers to rush