checked that all fonts are uniform

This commit is contained in:
2026-06-14 22:21:30 -06:00
parent 96fa6d3c62
commit 3d8ce73b20
4 changed files with 260 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class Producer
@image = Gosu.render(@box_size - (2 * BORDER), @box_size - (2 * BORDER)) {
# Render the item
Gosu.draw_rect(0, 0, @box_size - (2 * BORDER), @box_size - (2 * BORDER), Gosu::Color::RED, 0)
Gosu::Image.from_text("#{@number}", 20).draw(5, 5, 1)
Gosu::Image.from_text("#{@number}", 20, font: FONT_PATH).draw(5, 5, 1)
}
@tooltip = DialougeBox.new(@x, @y, WIDTH, HEIGHT, "Produces #{@rate} number per second")