class SpaceRocksGame
Defined in:
space-rocks.cr
Constructors
Instance Method Summary
Instance methods inherited from class Game
draw(dt : Float64)
draw,
run
run,
scale : Float64
scale,
scale=(scale : Float64)
scale=,
screen_height : Int32
screen_height,
screen_height=(screen_height : Int32)
screen_height=,
screen_width : Int32
screen_width,
screen_width=(screen_width : Int32)
screen_width=,
target_fps : Int8
target_fps,
target_fps=(target_fps : Int8)
target_fps=,
update(dt : Float64)
update,
virtual_screen_height
virtual_screen_height,
virtual_screen_width
virtual_screen_width
Constructor methods inherited from class Game
new(screen_width : Int32, screen_height : Int32, scale : Float64, target_fps : Int8)
new
Constructor Detail
def self.
new(screen_width =
960, screen_height =
593, scale =
1.0, target_fps =
60.to_i8)
#
Instance Method Detail