Started working on the loot system which will eventually become the inventory/improved collision system.

This commit is contained in:
Zed A. Shaw 2024-11-07 00:29:06 -05:00
parent c1d43694b0
commit 0a268591c2
5 changed files with 55 additions and 29 deletions

View file

@ -22,9 +22,9 @@ namespace components {
DEFINE_SERIALIZABLE(Motion, dx, dy);
};
struct Treasure {
struct Loot {
int amount;
DEFINE_SERIALIZABLE(Treasure, amount);
DEFINE_SERIALIZABLE(Loot, amount);
};
struct Tile {