Open dcasadevall opened 5 years ago
Add UnitNumber to IUnit. Unit is initialized with number. UnitSpawner takes unitNumber in handleUnitspawned.
UnitSpawner is injected a ISpawnedUnitCount.
ISpawnedUnitCount: AddUnit(String name) RemoveUnit(String name);
Step 2: Add an animator to the unit. Add Unit number text to unitBehaviour. Assign unit number.
This would be a good opportunity to tackle https://github.com/dcasadevall/tabletop-combat-helper/issues/23