]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Caster.h
removed useless comments
[l2e.git] / src / loader / Caster.h
index 2718fc08f8327bcf7c9966ae145e0acefdc8a6b1..c20f5d949c32a9ccb6ad8dc8960e6db06e9506a7 100644 (file)
@@ -1,28 +1,27 @@
-/*
- * Caster.h
- *
- *  Created on: Sep 19, 2012
- *      Author: holy
- */
-
 #ifndef LOADER_CASTER_H_
 #define LOADER_CASTER_H_
 
-#include "Interpreter.h"
-
-#include <string>
-
 namespace battle {
-       class Hero;
+       struct Resources;
        class Monster;
        class PartyLayout;
-       class Resources;
 }
-
 namespace common {
+       class Capsule;
+       class Hero;
        class Item;
        class Spell;
 }
+namespace map {
+       class Map;
+}
+namespace menu {
+       struct Resources;
+}
+
+#include "Interpreter.h"
+
+#include <string>
 
 namespace loader {
 
@@ -37,8 +36,11 @@ private:
 
 public:
        battle::Resources *GetBattleResources(const std::string &identifier);
-       battle::Hero *GetHero(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);
@@ -46,15 +48,8 @@ public:
 private:
        Interpreter &intp;
 
-       int battleResourcesId;
-       int heroId;
-       int itemId;
-       int monsterId;
-       int partyLayoutId;
-       int spellId;
-
 };
 
 }
 
-#endif /* LOADER_CASTER_H_ */
+#endif