22 lines
348 B
C++
22 lines
348 B
C++
// test.hpp
|
|
|
|
#pragma once
|
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
#include "scene.hpp"
|
|
|
|
struct GameContext;
|
|
|
|
class Test final : public Scene {
|
|
public:
|
|
explicit Test(GameContext& context);
|
|
auto update(int delta_ms) -> Scenes override;
|
|
void render() override;
|
|
|
|
private:
|
|
GameContext& context_;
|
|
int color_{0};
|
|
Uint64 time_elapsed_{0};
|
|
};
|