From 3e16eb8d2f15d40239bdf1f375daeab7bcdf95fa Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 11 Jul 2022 21:24:00 +0200 Subject: dod --- src/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4ba1970..69702ad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,7 +10,7 @@ #include "yabs_core.h" #include "yabs_utils.h" -static yabs::gameState game_state = yabs::GAMEPLAY; +static yabs::core::gameState game_state = yabs::core::GAMEPLAY; int main(void) { // create window @@ -20,20 +20,20 @@ int main(void) { // game loop while (!WindowShouldClose()) { switch (game_state) { - case (yabs::TITLE): { + case (yabs::core::TITLE): { if (IsKeyPressed(KEY_ENTER)) { - game_state = yabs::GAMEPLAY; + game_state = yabs::core::GAMEPLAY; } break; } - case (yabs::PICK): { + case (yabs::core::PICK): { break; } - case (yabs::DEATH): { + case (yabs::core::DEATH): { break; } - case (yabs::GAMEPLAY): { + case (yabs::core::GAMEPLAY): { if (!started) { started = true; @@ -41,10 +41,10 @@ int main(void) { } break; } - case (yabs::NEXT): { + case (yabs::core::NEXT): { break; } - case (yabs::ENDING): { + case (yabs::core::ENDING): { break; } } -- cgit v1.2.3