Add ecs ComponentListener

- Add ecs ComponentListener which listens to Component addition and
  removal
- Add RefCounter class used to keep track of moves and copies
This commit is contained in:
Thraix
2023-05-29 17:49:37 +02:00
parent 5a615ecc4e
commit 3ec9bcd152
24 changed files with 351 additions and 70 deletions
@@ -57,4 +57,13 @@ namespace Copium
{
Entity camera;
};
struct HealthC
{
int current;
int max;
Entity background;
Entity foreground;
};
}