legen wir fest, in welchem Zustand das Spiel startet
This commit is contained in:
parent
47becca88b
commit
a6b1c52b7d
@ -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))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user