class Game

Direct Known Subclasses

Defined in:

lib/game.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(screen_width : Int32, screen_height : Int32, scale : Float64, target_fps : Int8) #

[View source]

Instance Method Detail

def draw(dt : Float64) #

[View source]
def run #

[View source]
def scale : Float64 #

[View source]
def scale=(scale : Float64) #

[View source]
def screen_height : Int32 #

[View source]
def screen_height=(screen_height : Int32) #

[View source]
def screen_width : Int32 #

[View source]
def screen_width=(screen_width : Int32) #

[View source]
def target_fps : Int8 #

[View source]
def target_fps=(target_fps : Int8) #

[View source]
def update(dt : Float64) #

[View source]
def virtual_screen_height #

[View source]
def virtual_screen_width #

[View source]