Started working on the loot system which will eventually become the inventory/improved collision system.
This commit is contained in:
parent
c1d43694b0
commit
0a268591c2
5 changed files with 55 additions and 29 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue