Finally can pick things up, but it's really bad so far. Need a bunch of refactoring in how the collision system works, and make it so collision and maps can have multiple entities in the same square.
This commit is contained in:
parent
2458f01ebd
commit
2aa4f0a2e8
13 changed files with 78 additions and 43 deletions
|
@ -26,4 +26,5 @@ namespace System {
|
|||
void player_status(GameLevel &level);
|
||||
void distribute_loot(DinkyECS::World &world, DinkyECS::Entity& ent, nlohmann::json& entity_data);
|
||||
|
||||
void pickup(GameLevel &level, DinkyECS::Entity entity);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue