class

Maps::Base

Inherits Reference < Object

Constructors

new(height : Int32 | Nil = nil, width : Int32 | Nil = nil, fill : Char | Nil = nil)
Source

Instance methods

add(parent : Base, x : Int32 | Nil = nil, y : Int32 | Nil = nil, z : Int32 = 1)
Source
children
Source
children=(children : Array(Base))
Source
dirty
Source
dirty=(dirty : Bool)
Source
fill
Source
fill=(fill : Char)
Source
height
Source
height=(height : Int32)
Source
hide
Source
is_dirty?
Source
move(x : Int32, y : Int32)
Source
on_action
Source
on_bump
Source
on_key
Source
on_message
Source
on_tick
Source
parent

current position in parent map

Source
parent=(parent : Base | Nil)

current position in parent map

Source
remove
Source
render(screen : Array(Array(Char))) : Array(Array(Char))
Source
render
Source
send(key : String, value : String)
Source
set(x : Int32, y : Int32, z : Int32)
Source
set(x : Int32, y : Int32)
Source
show
Source
text
Source
text=(text : Array(Array(Char)))
Source
trigger_actions
Source
trigger_bumps
Source
visible
Source
visible=(visible : Bool)
Source
width
Source
width=(width : Int32)
Source
x=(x : Int32)
Source
y=(y : Int32)
Source
z=(z : Int32)
Source