Refactor & More.
Changed the entity system to utilize mix-ins. Added instanced sprites. Texture support.
This commit is contained in:
17
include/Game/scene/Loading.h
Normal file
17
include/Game/scene/Loading.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <Engine/types/scene/Scene.h>
|
||||
#include <JGL/types/RenderTarget.h>
|
||||
|
||||
class LoadingScreen final : public Engine::Scene {
|
||||
protected:
|
||||
float elapsed = 0.0f;
|
||||
float angle = 0.0f;
|
||||
Texture* RedactedSoftware = nullptr;
|
||||
public:
|
||||
explicit LoadingScreen(const std::string& name) : Scene(name) {}
|
||||
|
||||
void Init() final;
|
||||
void Update() final;
|
||||
void Render(JGL::RenderTarget* render_target = nullptr) final;
|
||||
~LoadingScreen() final;
|
||||
};
|
Reference in New Issue
Block a user