Stones now disappear from the map when all has been consumed. Added tests too
Added asserts to make sure the stonemason and the farmer uses the get|setCargo() methods in worker
Fixed a typo in an assert
Stonemason now walks all the way to his hut after getting stone
Forester now walks all the way to the hut after planting a tree
Fixed farmer so that it walks all the way back to the house after planting and harvesting
Changed to use a common a-star implementation and put it in GameUtils
Added a defence radius parameter to MilitaryBuilding and updated Barracks to set it
Made headquarter a military building that hosts no soldiers so that it can fill up space on the map
Added a method to get the defence radius for a building
Changed GameLogic to check if there are any militaries available before it tries to withdraw them.
Add missing hasMilitary() method to Storage
Added a method to GameMap to get the current border of the occupied land. Added an initial test
Fixed the stonemason so that it goes out and places its cargo on the flag by itself. Updated the tests to verify this
Fixed Farmer so that it leaves the cargo at the Farm's flag itself
Changed WoodcutterWorker to get directly into the building after placing the cargo on the flag
Fixed the Worker class to handle returnHome and returnHomeOffroad the same way
Cosmetic fix in Farmer
Updated the TestFarm to expect that the farmer goes into the building directly when it reaches the building
Added a primitive border and buildings/flags/roads can only be placed within the border. Added tests for the border and updated existing tests to respect the border