aboutsummaryrefslogtreecommitdiff
path: root/src/games/Game.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2026-01-20 01:22:45 +0100
committerfschildt <florian.schildt@protonmail.com>2026-01-20 01:59:19 +0100
commit6da9be5810bf82e9d0b3b2a8bce7606ef2e2bf93 (patch)
tree28bb67ad879f8bbb36476a537fe8b69195500146 /src/games/Game.hpp
parentf463853872210415e06fb3f863325fdba303ab65 (diff)
breakout: delete pong, add breakout
Diffstat (limited to 'src/games/Game.hpp')
-rw-r--r--src/games/Game.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/games/Game.hpp b/src/games/Game.hpp
index c75f586..0cdf4b9 100644
--- a/src/games/Game.hpp
+++ b/src/games/Game.hpp
@@ -16,7 +16,7 @@ public:
minesweeper,
snake,
tetris,
- pong
+ breakout
};
enum GameStatus {
@@ -54,7 +54,7 @@ protected:
protected:
virtual void Start() = 0;
virtual void ProcessEvent(SDL_Event& event) = 0;
- virtual void FinishUpdate(float dt) = 0;
+ virtual void Update(float dt) = 0;
virtual void Draw() = 0;
virtual void DrawGameStartMenu();