forked from bionickatana/number_factory
Added font file and changed font to be monospace
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user