24 lines
398 B
C++
24 lines
398 B
C++
// test.hpp
|
|
|
|
#pragma once
|
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
#include "scene.hpp"
|
|
|
|
struct Subsystems;
|
|
struct Context;
|
|
|
|
class Test final : public Scene {
|
|
public:
|
|
explicit Test(Subsystems& subsystems, Context& context);
|
|
void update(int delta_ms) override;
|
|
void render() override;
|
|
|
|
private:
|
|
Subsystems& subsystems_;
|
|
Context& context_;
|
|
int color_{0};
|
|
Uint64 time_elapsed_{0};
|
|
};
|