diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-02-12 15:27:02 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-02-12 15:27:02 -0500 |
commit | 7189e7d0d5130b7bb37c4d65e595b1608b3c39c8 (patch) | |
tree | f2e74ad947f6d018d8ea6431140b5f40d1ff7f81 /include | |
parent | 202b5a75428b2405eeff3080cde0e657b76978f9 (diff) |
quest requirements/rewards
Diffstat (limited to 'include')
-rw-r--r-- | include/quest.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/quest.hpp b/include/quest.hpp index 27b533d..b74438d 100644 --- a/include/quest.hpp +++ b/include/quest.hpp @@ -7,6 +7,7 @@ #include <entityx/entityx.h> +#include <forward_list> #include <string> #include <vector> @@ -21,6 +22,10 @@ struct Quest std::string name; /**< the quest's title */ std::string desc; /**< the quest's description */ + + using Req = std::pair<std::string, int>; + std::forward_list<Req> reqs; /**< the quest's item requirements */ + std::forward_list<Req> rewards; /**< the quest's rewards */ }; /** |