aboutsummaryrefslogtreecommitdiffstats
path: root/include/Quest.h
blob: 076b8005f371676cac8a7fd1b7cfcde9b7f4fda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef QUEST_H
#define QUEST_H

#include <vector>
#include <cstdlib>
#include <cstring>

#define TOTAL_QUESTS 1

class Quest {
public:
	char *title,*desc;
	unsigned int reward;
	Quest(const char *t,const char *d,unsigned int r);
	~Quest();
};

class QuestHandler {
public:
	std::vector<const Quest *>current;
	int assign(const char *t);
	int drop(const char *t);
	int finish(const char *t);
};

#endif // QUEST_H