aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 16:12:29 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 16:12:29 +0100
commit977bbaedb88d438e871a1e24e40902dfb6afd495 (patch)
tree712a0aae6b3268e2184294da2b768c58300da25d /src/main.cpp
parentadjust boss hp and add back fury (diff)
downloadthreshold-977bbaedb88d438e871a1e24e40902dfb6afd495.tar.gz
threshold-977bbaedb88d438e871a1e24e40902dfb6afd495.tar.bz2
threshold-977bbaedb88d438e871a1e24e40902dfb6afd495.tar.xz
threshold-977bbaedb88d438e871a1e24e40902dfb6afd495.tar.zst
threshold-977bbaedb88d438e871a1e24e40902dfb6afd495.zip
display next level
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
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):