diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 16:34:29 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 16:34:29 +0100 |
commit | 71380426426dffe787d1704a8fd639c4b1bbfad3 (patch) | |
tree | f550cc1dfa100e208712e20b4442687cc2a7f157 /frontend/Player.h | |
parent | a3c1ba7b49e4c5901d7c9dd917049744ad20fc96 (diff) |
cmd_get complete
Diffstat (limited to 'frontend/Player.h')
-rw-r--r-- | frontend/Player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/Player.h b/frontend/Player.h index 09e3a73..6d333f5 100644 --- a/frontend/Player.h +++ b/frontend/Player.h @@ -3,6 +3,7 @@ #include <unordered_map> #include <string> #include <memory> +#include <vector> #include "backend/WeaponObject.h" #include "backend/ArmorObject.h" @@ -29,6 +30,7 @@ private: std::unique_ptr<ArmorObject> armor = nullptr; Location & location; bool cheating = false; + std::vector<std::unique_ptr<Object>> inventory = {}; public: Player(Dungeon & dungeon); |