class

RPG::Level

Inherits Reference < Object

Constants

SoundBumpFile = "./assets/sounds/bump.ogg"
TileSize = 64

Constructors

new(player : Player, rows : Int32 = 9, cols : Int32 = 9, player_row : Int32 = 0, player_col : Int32 = 0)
Source

Instance methods

cols
Source
dialog
Source
dialog_key
Source
dialog_show(key : String, message_key : String)
Source
dialog_yml_file
Source
draw(window : SF::RenderWindow)
Source
draw_tile(window, x, y)
Source
draw_tiles(window)
Source
height
Source
init_dialog_data
Source
objs
Source
play_bump_sound
Source
player
Source
player_col
Source
player_collision_checks
Source
player_row
Source
rows
Source
sound_bump
Source
start
Source
tile_size
Source
to_tile(col, row)
Source
update(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks)
Source
width
Source

Nested types