Added two new classes: UnitDataExt and WaypointCreatorExt
- UnitDataExt has nothing to do with BWAPI::UnitData class
Added UnitManagerExt class
Added update and addUnit methods to the UnitManagerExt class
Changed Position waypoints from pointers to variables
Fixed compile error
- Replaced UnitDataExt::unitId with a pointer to that unit
- Added State enum to UnitDataExt
- Added getUnit method to UnitDataExt
- Changed UnitManagerExt to work on UnitDataExt instead of BWAPI::Unit*
- Changed UnitDataExt not to require destination in constructor
- Added testing code to Squad::setManagerUnit method
- Made UnitManagerExt a singleton
Bug found in UnitDataExt
- Added code responsible for creating waypoints to Squad
- Added debug printfs to UnitDataExt
- Added getUnitData method to UnitManagerExt
- Modified WaypointCreatorExt for easier testing
- Added calls to UnitManager to WraithManagerExt
Bug finding:
- Added printing _waypoint size
Searching for a bug:
- Removing printf statement in Squad::setManagerUnits, before setting waypoints causes SC to crash
Checkpoint before changes to vector pointers
Added memory allocation for _unitsData vector inside UnitManagerExt class
Changed getUnitData loop from foreach to for and fixed returned address
Waypoint size bug is fixed
Waypoints work properely
Added update function call at the beginning of the addUnit method to prevent unit data vector from being too large
Merge branch 'feature/waypoints' into develop