commands, towers, etc
This commit is contained in:
@@ -28,6 +28,10 @@ render_world :: proc(world: ^World) {
|
||||
)
|
||||
}
|
||||
|
||||
for t in world.towers {
|
||||
rl.DrawRectangle(i32(t.position.x - 14), i32(t.position.y - 14), 28, 28, rl.BLUE)
|
||||
}
|
||||
|
||||
if (world.base_health == 0) {
|
||||
rl.DrawText("**GAME OVER**", 20, 20, 20, rl.RED)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user