dcasadevall / tabletop-combat-helper

A local network helper application for players of table top roleplaying games to visualize combat elements such as player positions, health, etc..
Apache License 2.0
1 stars 0 forks source link

Units Should have a number (1, 2, 3...) displayed. #14

Open dcasadevall opened 5 years ago

dcasadevall commented 5 years ago

This would be a good opportunity to tackle https://github.com/dcasadevall/tabletop-combat-helper/issues/23

dcasadevall commented 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);

dcasadevall commented 5 years ago

Step 2: Add an animator to the unit. Add Unit number text to unitBehaviour. Assign unit number.