#include "../battle/Resources.h"
#include "../battle/Monster.h"
#include "../battle/PartyLayout.h"
+#include "../common/Capsule.h"
#include "../common/Hero.h"
#include "../common/Item.h"
#include "../common/Spell.h"
using battle::Monster;
using battle::PartyLayout;
+using common::Capsule;
using common::Hero;
using common::Item;
using common::Spell;
intp.GetObject(battle::Resources::TYPE_ID, ident));
}
+Capsule *Caster::GetCapsule(const string &ident) {
+ return reinterpret_cast<Capsule *>(intp.GetObject(Capsule::TYPE_ID, ident));
+}
+
Hero *Caster::GetHero(const string &ident) {
return reinterpret_cast<Hero *>(intp.GetObject(Hero::TYPE_ID, ident));
}