Depositing resources increases player resources

This commit is contained in:
2024-01-23 19:53:25 +01:00
parent 3511b260cc
commit 777ebeadc4
4 changed files with 28 additions and 3 deletions

View File

@@ -124,9 +124,11 @@ extern ECS_COMPONENT_DECLARE(Easing);
* Event components
*********************************************************/
typedef struct HarvestEvent {
ResourceType type;
i32 amount;
} HarvestEvent;
typedef struct DepositEvent {
ResourceType type;
i32 amount;
} DepositEvent;