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
10namespace 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}