Andidy / engine-v2

1 stars 0 forks source link

Killing Entities #71

Open Andidy opened 2 years ago

Andidy commented 2 years ago

Currently units just keep taking damage forever, they end up with negative health. Introduce a system to handle killing units which have had their health reduced to zero. This will probably need adjustments to the entity manager in order to accommodate removing the entities that have been killed. There should also be a way for the Unit to persist though, this is to support rewind functionality.