diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-06-03 23:39:16 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-06-03 23:39:16 -0300 |
| commit | bf2520d71e770c303c6878a1515e069b22eb4452 (patch) | |
| tree | 2fe897d9c317b5cd78423b0c9b837b2a198f66c5 /sdl3_main.c | |
| parent | b432ece87df0260290f0f8f408bdcaf922d05c22 (diff) | |
game: adicionado goal entity
Diffstat (limited to 'sdl3_main.c')
| -rw-r--r-- | sdl3_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdl3_main.c b/sdl3_main.c index 873a862..639c0d4 100644 --- a/sdl3_main.c +++ b/sdl3_main.c @@ -114,6 +114,11 @@ render(void) SDL_SetRenderDrawColor(renderer, 0xFF, 0x00, 0xFF, 0xFF); renderrect(e->body.pos, e->body.size); break; + + case EGOAL: + SDL_SetRenderDrawColor(renderer, 0x00, 0xFF, 0x00, 0xFF); + renderrect(e->body.pos, e->body.size); + break; } } } |
