Better scene management.

This commit is contained in:
2025-01-02 12:57:21 -05:00
parent b9afc57e6e
commit 30bdd66086
13 changed files with 78 additions and 47 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#include <Engine/Level/Scene.h>
class ControllableBox final : public Scene {
public:
void Init() final;
public:
explicit ControllableBox(const std::string& name) : Scene(name) {}
};

View File

@@ -1,12 +0,0 @@
#pragma once
#include "Engine/Level/Scene.h"
class DemoGameScene final : public Scene {
public:
void Init() final;
public:
DemoGameScene() = default;
};

View File

@@ -1,16 +1,16 @@
#pragma once
#include "Engine/Level/Scene.h"
#include <Engine/Level/Scene.h>
class DemoGameSplash final : public Scene {
class LoadingScreen final : public Scene {
protected:
float elapsed = 0.0f;
float angle = 0.0f;
Texture* RedactedSoftware = nullptr;
public:
DemoGameSplash() : Scene() {}
explicit LoadingScreen(const std::string& name) : Scene(name) {}
void Init() final;
void Update() final;
void Render() final;
~DemoGameSplash() final;
~LoadingScreen() final;
};