// ObjectScene.cpp: implementation of the CObjectScene class. // ////////////////////////////////////////////////////////////////////// #include "ObjectScene.h" #include "SceneManager.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CObjectScene::CObjectScene() { m_iCurrentLight = 0; } CObjectScene::~CObjectScene() { if(m_pObject) { CSceneManager::m_ObjectContainer.DeleteObject(m_strObjectName,m_isAlpha,m_isLight); m_pObject=NULL; } }