Initial release: SDL Windows Tetris
This commit is contained in:
13
src/states/MenuState.h
Normal file
13
src/states/MenuState.h
Normal file
@ -0,0 +1,13 @@
|
||||
// MenuState.h
|
||||
#pragma once
|
||||
#include "State.h"
|
||||
|
||||
class MenuState : public State {
|
||||
public:
|
||||
MenuState(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;
|
||||
};
|
||||
Reference in New Issue
Block a user