/TGame/TCommon/Scene/SceneManagerIf.h
http://awoe.googlecode.com/ · C Header · 37 lines · 13 code · 10 blank · 14 comment · 0 complexity · e6571d74844282d3a7b451a1713a389f MD5 · raw file
- #ifndef __SCENE_MANAGER_INTERFACE___
- #define __SCENE_MANAGER_INTERFACE___
-
- #include "Gene/GeneHostImp.h"
- #include "SceneIf.h"
-
- //
- // scene manager interface
- //
- class TCOM_API ISceneManager
- {
- public:
- virtual ~ISceneManager(){}
-
- //
- // each scene will have a global unique instance id
- // retrieve scene by instance id
- //
- virtual IScene* getScene(int nInstanceID) = 0;
-
- //
- // add a scene by static id and table
- // scene will be fully initialized in it loading method
- //
- virtual IScene* addScene(int nStaticID, short type) = 0;
-
- //
- // remove a scene by its instance id
- //
- virtual bool rmvScene(int nInstanceID) = 0;
-
-
-
- };
-
-
- #endif