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