class Dungeon::Game

Defined in:

dungeon/game.cr

Constant Summary

DEBUG = true
DRAW_FPS = DEBUG
GAME_OVER_TIME = 1.5
SCREEN_HEIGHT = 768
SCREEN_WIDTH = 1024
TARGET_FPS = 60

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def change_level(level_name : String) #

[View source]
def check_game_over? #

[View source]
def close #

[View source]
def draw #

[View source]
def draw_init #

[View source]
def game_over? : Bool #

[View source]
def level #

[View source]
def pause #

[View source]
def paused? : Bool? #

[View source]
def run #

[View source]
def show(message : Message) #

[View source]
def unpause #

[View source]
def update #

[View source]