class App

Defined in:

app.cr

Constant Summary

CLEAR_SCREEN_ESC_CODE = "\e[2J"

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def normalize_command(cmd) #

[View source]
def render_building_letter(building_type : Game::Building::Type) #

[View source]
def render_commands(world) #

[View source]
def render_deposit_resource(res_type : Game::Resource::Type) #

[View source]
def render_map(world) #

[View source]
def render_resources(world) #

[View source]
def render_tile_letter(tile : Game::Tile) #

[View source]
def render_tile_number(tile : Game::Tile) #

[View source]
def render_time(ts) #

[View source]
def render_world(world) #

[View source]
def run #

[View source]