Updated game speed

This commit is contained in:
2025-08-16 08:24:26 +02:00
parent d161b2c550
commit 71648fbaeb
20 changed files with 690 additions and 334 deletions

17
src/states/PlayingState.h Normal file
View File

@ -0,0 +1,17 @@
#pragma once
#include "State.h"
#include <SDL3/SDL.h>
class PlayingState : public State {
public:
PlayingState(StateContext& ctx);
void onEnter() override;
void onExit() override;
void handleEvent(const SDL_Event& e) override;
void update(double frameMs) override;
void render(SDL_Renderer* renderer, float logicalScale, SDL_Rect logicalVP) override;
private:
// Local per-state variables if needed
bool localPaused = false;
};