1#include "Game/Demo/DemoCastGroup.hpp"
3DemoCastGroup::DemoCastGroup(
const char *pName) :
NameObj(pName) {
9 bool isNotSame = !(*mInfo == rInfo);
15 registerDemoActor(pActor, rIter);
19bool DemoCastGroup::tryRegisterDemoActor(
LiveActor *pActor,
const char *pName,
const JMapInfoIter &rIter) {
20 if (!MR::isEqualString(
mName, pName)) {
24 registerDemoActor(pActor, rIter);
29 mGroup->registerActor(pActor);
32DemoCastGroup::~DemoCastGroup() {
37 setName(MR::getDemoName(rIter));
40 mInfo =
new JMapIdInfo(MR::getDemoGroupLinkID(rIter), rIter);
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
The basis of a drawable actor that can contain states (see: Nerve)
The most basic form of an object.
void setName(const char *pName)
Sets the NameObj's mName.
void initWithoutIter()
Initializes a NameObj without a JMapInfoIter instance.
const char * mName
A string to identify the NameObj.