Fix harvesting and add resource depositing

This commit is contained in:
2023-12-29 14:54:13 +01:00
parent 31a9289770
commit 681080f3ed
5 changed files with 27 additions and 8 deletions

View File

@@ -149,7 +149,9 @@ typedef struct EntityArms {
typedef struct HarvestEvent {
i32 amount;
} HarvestEvent;
extern ECS_COMPONENT_DECLARE(HarvestEvent);
typedef struct DepositEvent {
i32 amount;
} DepositEvent;
/**********************************************************
* Gameplay components