Add health
This commit is contained in:
@@ -214,6 +214,13 @@ typedef struct ConsumePopCapacity {
|
||||
} ConsumePopCapacity;
|
||||
extern ECS_COMPONENT_DECLARE(ConsumePopCapacity);
|
||||
|
||||
typedef struct Health {
|
||||
f32 startHP;
|
||||
f32 hp;
|
||||
f32 lastChanged;
|
||||
} Health;
|
||||
extern ECS_COMPONENT_DECLARE(Health);
|
||||
|
||||
// Worker can:
|
||||
// - Harvest
|
||||
// - Build
|
||||
|
||||
Reference in New Issue
Block a user