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