feat(main...TerrainType): Implementation of terrain bonuses
What are the key features of this change
Implementation of terrain bonuses to Unit's abstract methods getAttackBonus() and getResistBonus(). Also includes refactor of major parts of adherent code for all specialised units classes. Closes issue #9 (closed).
Size of change: Large
List changes with class/type-of-changes
- TerrainType/created
- InfantryUnit/refactored
- RangedUnit/refactored
- CavalryUnit/refactored
- CommanderUnit/refactored
- InfantryUnitTest/refactored
- RangedUnitTest/refactored
- CavalryUnitTest/refactored
Checklist
-
Javadoc -
Tests -
Build tool test passed