This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
NFRev1/NothinFancy/src/include/nf/IntroGamestate.h

22 lines
405 B
C++

#pragma once
#include "Gamestate.h"
#include "UITexture.h"
#include "Text.h"
namespace nf {
class IntroGamestate : public Gamestate {
public:
void onEnter() override;
void update(float deltaTime) override;
void render(Renderer& renderer) override;
void onExit() override;
private:
std::chrono::steady_clock::time_point m_start;
float m_scale;
UITexture m_logoTex;
Text m_text;
};
}