]> git.localhorst.tv Git - l2e.git/blob - src/loader/Caster.h
2aa6be09ed5762d8dae481bf321813d10f94e851
[l2e.git] / src / loader / Caster.h
1 #ifndef LOADER_CASTER_H_
2 #define LOADER_CASTER_H_
3
4 #include "Interpreter.h"
5 #include "../battle/fwd.h"
6 #include "../common/fwd.h"
7 #include "../map/fwd.h"
8 #include "../menu/fwd.h"
9
10 #include <string>
11
12 namespace loader {
13
14 class Caster {
15
16 public:
17         Caster(Interpreter &intp);
18         ~Caster() { }
19 private:
20         Caster(const Caster &);
21         Caster &operator =(const Caster &);
22
23 public:
24         battle::Resources *GetBattleResources(const std::string &identifier);
25         common::Hero *GetHero(const std::string &identifier);
26         common::Item *GetItem(const std::string &identifier);
27         map::Map *GetMap(const std::string &identifier);
28         menu::Resources *GetMenuResources(const std::string &identifier);
29         battle::Monster *GetMonster(const std::string &identifier);
30         battle::PartyLayout *GetPartyLayout(const std::string &identifier);
31         common::Spell *GetSpell(const std::string &identifier);
32
33 private:
34         Interpreter &intp;
35
36 };
37
38 }
39
40 #endif /* LOADER_CASTER_H_ */