CObj* CProgressRateZone::Create(CDevice* _pDevice) { CObj* pObj = new CProgressRateZone(_pDevice); if (FAILED(pObj->Init())) ::Safe_Delete(pObj); return pObj; }
CObj* CAmmo::Create(CDevice* _pDevice) { CObj* pObj = new CAmmo(_pDevice); if (FAILED(pObj->Init())) ::Safe_Delete(pObj); return pObj; }
CObj* CSkyBox::Create(CDevice* _pDevice, const wstring& _wstrTextureKey) { CObj* pObj = new CSkyBox(_pDevice); if (FAILED(pObj->Init())) ::Safe_Delete(pObj); ((CSkyBox*)pObj)->AddComponent(_wstrTextureKey); return pObj; }