Changed the entity system to utilize mix-ins. Added instanced sprites. Texture support.
18 lines
466 B
C++
18 lines
466 B
C++
#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;
|
|
};
|