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)) {