summaryrefslogtreecommitdiff
path: root/sdl3_main.c
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-06-03 19:24:29 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-06-03 19:24:29 -0300
commit94bdded9102bc2e2b2e4bded8f180749efda1b72 (patch)
tree1a1dac5472b2797980193ce1439a1ca24f47aabf /sdl3_main.c
parent022b9bd5f910629ecbf837b38b3cd761c2f703ea (diff)
game: adicionado entity teleporter
Diffstat (limited to 'sdl3_main.c')
-rw-r--r--sdl3_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sdl3_main.c b/sdl3_main.c
index 9780e3d..873a862 100644
--- a/sdl3_main.c
+++ b/sdl3_main.c
@@ -109,6 +109,11 @@ render(void)
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0x00, 0xFF);
renderrect(e->body.pos, e->body.size);
break;
+
+ case ETELEPORTER:
+ SDL_SetRenderDrawColor(renderer, 0xFF, 0x00, 0xFF, 0xFF);
+ renderrect(e->body.pos, e->body.size);
+ break;
}
}
}