This commit is contained in:
2026-03-29 04:45:36 +00:00
parent 2064232226
commit 6e15f025ec
+1 -8
View File
@@ -37,7 +37,7 @@ class Game < Scene
@character.draw
@enemies.draw
@props.draw
draw_fog! if $bus.get(:settings, :fog)
$bus.emit(:shade) if $bus.get(:settings, :fog)
@hud.draw
draw_debug! if $bus.get(:settings, :debug)
end
@@ -48,13 +48,6 @@ class Game < Scene
@font.draw_text("Player: [#{world_x}, #{world_y}]", 5, 30, Float::INFINITY, 1, 1, Gosu::Color::YELLOW)
end
def draw_fog!
$bus.emit(:shade)
return
end
def draw_floor
cam_x, cam_y = @camera
tile_size = 60