]> git.localhorst.tv Git - l2e.git/blob - src/loader/Caster.h
31ce61226677f40f8d32645bbf1d861e6680f3bf
[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::Capsule *GetCapsule(const std::string &identifier);
26         common::Hero *GetHero(const std::string &identifier);
27         common::Item *GetItem(const std::string &identifier);
28         map::Map *GetMap(const std::string &identifier);
29         menu::Resources *GetMenuResources(const std::string &identifier);
30         battle::Monster *GetMonster(const std::string &identifier);
31         battle::PartyLayout *GetPartyLayout(const std::string &identifier);
32         common::Spell *GetSpell(const std::string &identifier);
33
34 private:
35         Interpreter &intp;
36
37 };
38
39 }
40
41 #endif /* LOADER_CASTER_H_ */