class Bench::SceneManager

Defined in:

bench/scene_manager.cr

Constructors

Instance Method Summary

Instance methods inherited from class Bench::Scene

destroy destroy, draw draw, exit=(exit : Bool) exit=, exit? : Bool exit?, init init, name : Symbol name, name=(name : Symbol) name=, reset reset, screen_height : Int32 screen_height, screen_height=(screen_height : Int32) screen_height=, screen_width : Int32 screen_width, screen_width=(screen_width : Int32) screen_width=, update(keys : Keys, mouse : Mouse) update

Constructor methods inherited from class Bench::Scene

new(screen_width : Int32, screen_height : Int32)
new
new

Constructor Detail

def self.new(screen_width, screen_height) #

[View source]

Instance Method Detail

def calc_fps #

[View source]
def destroy #

[View source]
def draw #

[View source]
def init #

[View source]
def keys : Bench::Keys #

[View source]
def keys=(keys : Bench::Keys) #

[View source]
def mouse : Bench::Mouse #

[View source]
def mouse=(mouse : Bench::Mouse) #

[View source]
def redraw=(redraw : Bool) #

[View source]
def redraw? : Bool #

[View source]
def reset #

[View source]
def scene : GameScene #

[View source]
def scene=(scene : GameScene) #

[View source]
def update(keys : Keys, mouse : Mouse) #

[View source]
def update(event : LibAllegro::Event) #

[View source]