forked from miki151/keeperrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpantheon.h
61 lines (54 loc) · 932 Bytes
/
pantheon.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef _PANTHEON_H
#define _PANTHEON_H
#include "util.h"
enum class DeityHabitat {
EARTH,
STONE,
FIRE,
AIR,
TREES,
WATER,
STARS };
enum class Epithet {
CHANGE,
COURAGE,
CRAFTS,
DARKNESS,
DEATH,
DEFENSE,
DESTRUCTION,
FEAR,
FORTUNE,
HEALTH,
HUNTING,
LIGHT,
LIGHTNING,
LOVE,
MIND,
NATURE,
SECRETS,
WAR,
WEALTH,
WINTER,
WISDOM,
};
class Deity {
public:
Deity(const string& name, Gender gender, const vector<Epithet>& epithets, DeityHabitat habitat);
string getName() const;
Gender getGender() const;
string getEpithets() const;
string getHabitatString() const;
DeityHabitat getHabitat() const;
void onPrayer(Creature* c);
static vector<Deity*> getDeities();
static Deity* getDeity(DeityHabitat);
private:
Deity(Deity&) {}
string name;
Gender gender;
vector<Epithet> epithets;
vector<Epithet> usedEpithets;
DeityHabitat habitat;
};
#endif