CSEngine
Loading...
Searching...
No Matches
CSE::Scene Class Referenceabstract
Inheritance diagram for CSE::Scene:
CSE::SObject CSE::SScene FirstDemoScene WebDemoScene

Public Member Functions

virtual void Init ()=0
 
virtual void Tick (float elapsedTime)=0
 
void Destroy () override=0
 
void Exterminate () override
 
- Public Member Functions inherited from CSE::SObject
 SObject (bool isRegister)
 
virtual void SetUndestroyable (bool enable)
 
virtual void __FORCE_DESTROY__ ()
 
virtual std::string GenerateMeta ()
 
std::string GetHash () const
 
virtual void SetHash (std::string &hash)
 

Public Attributes

std::string m_name
 

Static Protected Member Functions

static void SetScene (Scene *scene)
 

Additional Inherited Members

- Protected Attributes inherited from CSE::SObject
std::string m_hash
 

Detailed Description

Definition at line 7 of file Scene.h.

Constructor & Destructor Documentation

◆ Scene()

Scene::Scene ( )

Definition at line 8 of file Scene.cpp.

8 {
9 SetUndestroyable(true);
10}

Member Function Documentation

◆ Destroy()

void CSE::Scene::Destroy ( )
overridepure virtual

Reimplemented from CSE::SObject.

◆ Exterminate()

void Scene::Exterminate ( )
overridevirtual

Implements CSE::SObject.

Definition at line 16 of file Scene.cpp.

16 {
17 Destroy();
18}

◆ SetScene()

void Scene::SetScene ( Scene scene)
staticprotected

Definition at line 21 of file Scene.cpp.

21 {
22 CORE->GetCore(SceneMgr)->SetScene(scene);
23}

Member Data Documentation

◆ m_name

std::string CSE::Scene::m_name

Definition at line 25 of file Scene.h.


The documentation for this class was generated from the following files: