Added font file and changed font to be monospace

This commit is contained in:
2026-06-14 20:49:33 -06:00
parent f8d69be2ad
commit 7aea94c224
4 changed files with 15 additions and 13 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ class Producer
@x = x
@y = y
@number = [number, 1].max
@rate = (30/rate).to_i
@rate = rate
@box_size = box_size
@screen_width = screen_width
@screen_height = screen_height
@@ -30,7 +30,7 @@ class Producer
Gosu::Image.from_text("#{@number}", 20).draw(5, 5, 1)
}
@tooltip = DialougeBox.new(@x, @y, WIDTH, HEIGHT, "This is a string\nof test text!")
@tooltip = DialougeBox.new(@x, @y, WIDTH, HEIGHT, "Produces #{@rate} number per second")
puts @tooltip.methods.sort
end