]> git.localhorst.tv Git - l2e.git/blob - src/loader/Caster.h
a3042accef0af000642fd4e8e0da1068b507c4d6
[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
15 #include <string>
16
17 namespace loader {
18
19 class Caster {
20
21 public:
22         Caster(Interpreter &intp);
23         ~Caster() { }
24 private:
25         Caster(const Caster &);
26         Caster &operator =(const Caster &);
27
28 public:
29         battle::Resources *GetBattleResources(const std::string &identifier);
30         common::Hero *GetHero(const std::string &identifier);
31         common::Item *GetItem(const std::string &identifier);
32         battle::Monster *GetMonster(const std::string &identifier);
33         battle::PartyLayout *GetPartyLayout(const std::string &identifier);
34         common::Spell *GetSpell(const std::string &identifier);
35
36 private:
37         Interpreter &intp;
38
39         int battleResourcesId;
40         int heroId;
41         int itemId;
42         int monsterId;
43         int partyLayoutId;
44         int spellId;
45
46 };
47
48 }
49
50 #endif /* LOADER_CASTER_H_ */