]> git.localhorst.tv Git - l2e.git/blob - src/loader/Caster.h
80e765e2d77c2404069fef8e0ce340e2056a1162
[l2e.git] / src / loader / Caster.h
1 /*
2  * Caster.h
3  *
4  *  Created on: Sep 19, 2012
5  *      Author: holy
6  */
7
8 #ifndef LOADER_CASTER_H_
9 #define LOADER_CASTER_H_
10
11 #include "Interpreter.h"
12 #include "../battle/fwd.h"
13 #include "../common/fwd.h"
14 #include "../map/fwd.h"
15
16 #include <string>
17
18 namespace loader {
19
20 class Caster {
21
22 public:
23         Caster(Interpreter &intp);
24         ~Caster() { }
25 private:
26         Caster(const Caster &);
27         Caster &operator =(const Caster &);
28
29 public:
30         battle::Resources *GetBattleResources(const std::string &identifier);
31         common::Hero *GetHero(const std::string &identifier);
32         common::Item *GetItem(const std::string &identifier);
33         map::Map *GetMap(const std::string &identifier);
34         battle::Monster *GetMonster(const std::string &identifier);
35         battle::PartyLayout *GetPartyLayout(const std::string &identifier);
36         common::Spell *GetSpell(const std::string &identifier);
37
38 private:
39         Interpreter &intp;
40
41         int battleResourcesId;
42         int heroId;
43         int itemId;
44         int mapId;
45         int monsterId;
46         int partyLayoutId;
47         int spellId;
48
49 };
50
51 }
52
53 #endif /* LOADER_CASTER_H_ */