class Item;
class Spell;
}
+namespace loader {
+ class Interpreter;
+ class Loader;
+}
namespace map {
class Map;
}
struct Resources;
}
-#include "Interpreter.h"
-
#include <string>
namespace loader {
class Caster {
public:
- Caster(Interpreter &intp);
+ Caster(Loader &ld, Interpreter &intp);
~Caster() { }
private:
Caster(const Caster &);
common::Spell *GetSpell(const std::string &identifier);
private:
+ void *GetObject(int typeId, const std::string &ident);
+
+private:
+ Loader &ld;
Interpreter &intp;
};
}
-#endif /* LOADER_CASTER_H_ */
+#endif