void clearDynamic () { for (std::map<int, StoreBase *>::iterator it = mStores.begin(); it != mStores.end(); ++it) it->second->clearDynamic(); mNpcs.insert(mPlayerTemplate); }
void movePlayerRecord () { mPlayerTemplate = *mNpcs.find("player"); mNpcs.eraseStatic(mPlayerTemplate.mId); mNpcs.insert(mPlayerTemplate); }