From 8deee144293102d4498424c38161d13c877250b2 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 30 Sep 2015 08:51:10 -0400 Subject: quest stuff --- include/Quest.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'include/Quest.h') diff --git a/include/Quest.h b/include/Quest.h index c73bf79..076b800 100644 --- a/include/Quest.h +++ b/include/Quest.h @@ -1,26 +1,23 @@ #ifndef QUEST_H #define QUEST_H -#include +#include +#include #include -#define QUEST_LIMIT 5 #define TOTAL_QUESTS 1 class Quest { public: char *title,*desc; - unsigned int xp; - Quest(const char *t,const char *d,unsigned int x); + unsigned int reward; + Quest(const char *t,const char *d,unsigned int r); ~Quest(); }; class QuestHandler { -private: - unsigned char ccnt; - const Quest *current[QUEST_LIMIT]; public: - QuestHandler(); + std::vectorcurrent; int assign(const char *t); int drop(const char *t); int finish(const char *t); -- cgit v1.2.3