forked from miki151/keeperrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathname_generator.h
38 lines (34 loc) · 1001 Bytes
/
name_generator.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
#ifndef _NAME_GENERATOR
#define _NAME_GENERATOR
class NameGenerator {
public:
NameGenerator() = default;
string getNext();
static NameGenerator firstNames;
static NameGenerator scrolls;
static NameGenerator aztecNames;
static NameGenerator creatureNames;
static NameGenerator weaponNames;
static NameGenerator worldNames;
static NameGenerator townNames;
static NameGenerator dwarfNames;
static NameGenerator deityNames;
static NameGenerator demonNames;
static NameGenerator dogNames;
static void init(
const string& firstNamesPath,
const string& aztecNamesPath,
const string& specialCreaturesPath,
const string& specialWeaponsPath,
const string& worldsPath,
const string& townsPath,
const string& dwarfPath,
const string& deitiesPath,
const string& demonsPath,
const string& dogsPath);
private:
NameGenerator(vector<string> names, bool oneName = false);
queue<string> names;
bool oneName;
};
#endif