class Maps::Text

Defined in:

maps/text.cr

Constructors

Instance Method Summary

Instance methods inherited from class Maps::Base

add(parent : Base, x : Int32 | Nil = nil, y : Int32 | Nil = nil, z : Int32 = 1) add, children : Array(Base) children, children=(children : Array(Base)) children=, dirty : Bool dirty, dirty=(dirty : Bool) dirty=, fill : Char fill, fill=(fill : Char) fill=, height : Int32 height, height=(height : Int32) height=, hide hide, is_dirty? is_dirty?, move(x : Int32, y : Int32) move, off(event : Events::EventHandler) off, on_action(&block : Maps::Base -> Nil) : Events::EventHandler on_action, on_bump(&block : String, Int32, Int32 -> Nil) : Events::EventHandler on_bump, on_key(&block : Char -> Nil) : Events::EventHandler on_key, on_message(&block : String, String -> Nil) : Events::EventHandler on_message, on_tick(&block) : Events::EventHandler on_tick, parent : Base | Nil parent, parent=(parent : Base | Nil) parent=, remove remove, render(screen : Array(Array(Char))) : Array(Array(Char))
render : Array(Array(Char))
render
, send(key : String, value : String) send, set(x : Int32, y : Int32, z : Int32)
set(x : Int32, y : Int32)
set
, show show, text : Array(Array(Char)) text, text=(text : Array(Array(Char))) text=, trigger_actions trigger_actions, trigger_bumps trigger_bumps, visible : Bool visible, visible=(visible : Bool) visible=, width : Int32 width, width=(width : Int32) width=, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=, z : Int32 z, z=(z : Int32) z=

Constructor methods inherited from class Maps::Base

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

Constructor Detail

def self.new(text : String) #

[View source]

Instance Method Detail

def update(text : String) #

[View source]