From 977bbaedb88d438e871a1e24e40902dfb6afd495 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 7 Jan 2022 16:12:29 +0100 Subject: display next level --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 8456928..5e4eb4e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -91,6 +91,9 @@ int main(void) { case (NEXT): { ClearBackground(COOLPURPLE); + DrawCircle(SCREENWIDTH / 2, SCREENHEIGHT / 2, 200, BLACK); + DrawText("STAGE CLEARED\nNEXT LEVEL :\n", (SCREENWIDTH / 2) - 200, (SCREENHEIGHT / 2) - 50, 40, WHITE); + DrawText(game->getNext().c_str(), (SCREENWIDTH / 2) - 100, (SCREENHEIGHT / 2) + 50, 40, WHITE); break ; } case (ENDING): -- cgit v1.2.3