From a6b1c52b7dbc9396aba2d5f9f3e9a262ef316ca7 Mon Sep 17 00:00:00 2001 From: 1nn0c3ntt Date: Mon, 1 Dec 2025 12:37:43 +0200 Subject: [PATCH] legen wir fest, in welchem Zustand das Spiel startet --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 0cdaad1..252483a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -109,6 +109,7 @@ int main() // ----------------------------------------------------------- while (!WindowShouldClose()) { + GameState state = GameState::Idle; //legen wir fest, in welchem Zustand das Spiel startet // Klick-Erkennung if (!gameWon && IsMouseButtonPressed(MOUSE_LEFT_BUTTON)) {