class Works::SceneManager

Defined in:

works/scene_manager.cr

Constructors

Instance Method Summary

Instance methods inherited from class Works::Scene

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

Constructor methods inherited from class Works::Scene

new new

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def calc_fps #

[View source]
def check_scenes #

[View source]
def destroy #

[View source]
def draw #

[View source]
def fps : Works::FPSDisplay #

[View source]
def fps=(fps : Works::FPSDisplay) #

[View source]
def gameScene : Works::GameScene #

[View source]
def gameScene=(gameScene : Works::GameScene) #

[View source]
def init #

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

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

[View source]
def mainMenu : Works::MainMenu #

[View source]
def mainMenu=(mainMenu : Works::MainMenu) #

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

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

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

[View source]
def redraw? : Bool #

[View source]
def scene : Scene #

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

[View source]
def switch(nextScene : Scene) #

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

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

[View source]