class Maps::Base
- Maps::Base
- Reference
- Object
Direct Known Subclasses
Defined in:
maps/base.crConstructors
Instance Method Summary
- #add(parent : Base, x : Int32 | Nil = nil, y : Int32 | Nil = nil, z : Int32 = 1)
- #children : Array(Base)
- #children=(children : Array(Base))
- #dirty : Bool
- #dirty=(dirty : Bool)
- #fill : Char
- #fill=(fill : Char)
- #height : Int32
- #height=(height : Int32)
- #hide
- #is_dirty?
- #move(x : Int32, y : Int32)
- #off(event : Events::EventHandler)
- #on_action(&block : Maps::Base -> Nil) : Events::EventHandler
- #on_bump(&block : String, Int32, Int32 -> Nil) : Events::EventHandler
- #on_key(&block : Char -> Nil) : Events::EventHandler
- #on_message(&block : String, String -> Nil) : Events::EventHandler
- #on_tick(&block) : Events::EventHandler
-
#parent : Base | Nil
current position in parent map
-
#parent=(parent : Base | Nil)
current position in parent map
- #remove
- #render(screen : Array(Array(Char))) : Array(Array(Char))
- #render : Array(Array(Char))
- #send(key : String, value : String)
- #set(x : Int32, y : Int32, z : Int32)
- #set(x : Int32, y : Int32)
- #show
- #text : Array(Array(Char))
- #text=(text : Array(Array(Char)))
- #trigger_actions
- #trigger_bumps
- #visible : Bool
- #visible=(visible : Bool)
- #width : Int32
- #width=(width : Int32)
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)
- #z : Int32
- #z=(z : Int32)