mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-16 07:47:36 +01:00
Fix incorrect argument type
This commit is contained in:
parent
b1e8752751
commit
22e6f007c4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module PF
|
|||
getter width : Int32
|
||||
getter height : Int32
|
||||
|
||||
def initialize(sheet : String, @width, @height, fps : Int)
|
||||
def initialize(sheet : String, @width, @height, fps : Float64)
|
||||
@frames = Sprite.load_tiles(sheet, width, height)
|
||||
@frame_timer = FrameTimer.new(fps: fps, frame_count: @frames.size)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue