CSEngine
Loading...
Searching...
No Matches
SScene.h
1
//
2
// Created by ounols on 19. 2. 14.
3
//
4
5
#pragma once
6
7
#include "../Manager/Base/Scene.h"
8
#include "SGameObject.h"
9
10
namespace
CSE {
11
12
class
SScene
:
public
Scene
{
13
public
:
14
SScene
();
15
~SScene
()
override
;
16
17
void
Init()
override
;
18
19
void
Tick(
float
elapsedTime)
override
;
20
21
void
Destroy()
override
;
22
23
SGameObject
* GetRoot() {
24
return
m_root;
25
}
26
27
private
:
28
void
InitGameObject(
SGameObject
* obj);
29
30
void
TickGameObject(
SGameObject
* obj,
float
elapsedTime);
31
32
private
:
33
SGameObject
* m_root =
nullptr
;
34
};
35
36
}
CSE::SGameObject
Definition
SGameObject.h:17
CSE::SScene
Definition
SScene.h:12
CSE::Scene
Definition
Scene.h:7
Object
SScene.h
Generated on Fri Nov 22 2024 01:09:31 for CSEngine by
1.9.8