자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
Door* PropFactory::createDoor(int health){ Door* door = new Door(); door->getHealth()->init(door->getHealth()->getName(), health, health); vector<Item*> debris; debris.push_back(ItemFactory::createWoodPlank()); door->setDebris(debris); return door; }