11100000000, // Lv60\93\9e\92B\83\\83E\83\8b
};
- Creature::Creature(Species *speciesPtr, ID id, TAG tag, GameWorld *gameWorld) : GameInstance()
+ Creature::Creature(std::map<TAG, std::shared_ptr<Species>>::iterator speciesIt, ID id, TAG tag, GameWorld *gameWorld) : GameInstance()
{
WipeData();
- SetSpeciesData(speciesPtr);
+ SetSpeciesData(&(*speciesIt->second));
}
Creature::Creature(ID id, TAG tag, GameWorld *gameWorld) : GameInstance()
* @param tag GameElement\82Ì\83^\83O
* @param gameWorld \8f\8a\91®\8c³gameWorld\8eQ\8fÆ\83|\83C\83\93\83^
*/
- Creature::Creature(Species *speciesPtr, ID id, TAG tag, GameWorld *gameWorld);
+ Creature::Creature(std::map<TAG, std::shared_ptr<Species>>::iterator speciesIt, ID id, TAG tag, GameWorld *gameWorld);
- /*!
- * @brief Creature\83N\83\89\83X\83R\83\93\83X\83g\83\89\83N\83^(GameElement\83\81\83\93\83o\91Î\89\9e)
- * @param id GameElement\82ÌID
- * @param tag GameElement\82Ì\83^\83O
- * @param gameWorld \8f\8a\91®\8c³gameWorld\8eQ\8fÆ\83|\83C\83\93\83^
- */
Creature::Creature(ID id, TAG tag, GameWorld *gameWorld);
/*!