class Works::GameScene

Defined in:

works/game_scene.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 add_ore(klass, data) #

[View source]
def destroy #

[View source]
def draw #

[View source]
def draw_hover_info #

[View source]
def init #

[View source]
def init_map #

[View source]
def init_player #

[View source]
def map : Works::Map #

[View source]
def map=(map : Works::Map) #

[View source]
def player : Works::Player #

[View source]
def player=(player : Works::Player) #

[View source]
def sheet : LibAllegro::Bitmap #

[View source]
def sheet=(sheet : LibAllegro::Bitmap) #

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

[View source]