]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Caster.h
extracted common capsule base
[l2e.git] / src / loader / Caster.h
index 80e765e2d77c2404069fef8e0ce340e2056a1162..31ce61226677f40f8d32645bbf1d861e6680f3bf 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * Caster.h
- *
- *  Created on: Sep 19, 2012
- *      Author: holy
- */
-
 #ifndef LOADER_CASTER_H_
 #define LOADER_CASTER_H_
 
@@ -12,6 +5,7 @@
 #include "../battle/fwd.h"
 #include "../common/fwd.h"
 #include "../map/fwd.h"
+#include "../menu/fwd.h"
 
 #include <string>
 
@@ -28,9 +22,11 @@ private:
 
 public:
        battle::Resources *GetBattleResources(const std::string &identifier);
+       common::Capsule *GetCapsule(const std::string &identifier);
        common::Hero *GetHero(const std::string &identifier);
        common::Item *GetItem(const std::string &identifier);
        map::Map *GetMap(const std::string &identifier);
+       menu::Resources *GetMenuResources(const std::string &identifier);
        battle::Monster *GetMonster(const std::string &identifier);
        battle::PartyLayout *GetPartyLayout(const std::string &identifier);
        common::Spell *GetSpell(const std::string &identifier);
@@ -38,14 +34,6 @@ public:
 private:
        Interpreter &intp;
 
-       int battleResourcesId;
-       int heroId;
-       int itemId;
-       int mapId;
-       int monsterId;
-       int partyLayoutId;
-       int spellId;
-
 };
 
 }