Updated game speed
This commit is contained in:
17
src/states/PlayingState.h
Normal file
17
src/states/PlayingState.h
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user