PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1#ifndef __SCENE_MANAGER_INTERFACE___
 2#define __SCENE_MANAGER_INTERFACE___
 3
 4#include "Gene/GeneHostImp.h"
 5#include "SceneIf.h"
 6
 7//
 8//	scene manager interface
 9//
10class TCOM_API  ISceneManager
11{
12public:
13	virtual	~ISceneManager(){}
14
15	//
16	//	each scene will have a global unique instance id
17	//	retrieve scene by instance id
18	//
19	virtual	IScene*	getScene(int nInstanceID)	=	0;
20
21	//
22	//	add a scene by static id and table 
23	//	scene will be fully initialized in it loading method
24	//
25	virtual IScene* addScene(int nStaticID, short type)	= 0;
26
27	//
28	//	remove a scene by its instance id
29	//
30	virtual bool	rmvScene(int nInstanceID)	=	0;
31
32
33
34};
35
36
37#endif