class CYOAdventure::Image
- CYOAdventure::Image
- CYOAdventure::Content
- Reference
- Object
Defined in:
cyo_adventure/image.crConstant Summary
-
EXTENSIONS =
["png", "jpg", "jpeg"]
Constructors
Class Method Summary
-
.draw_cache
Empty cache
Instance Method Summary
-
#draw(offset : Int32 = 0, height = @height)
Store in a cache to be draw after the NCurses refresh
- #height : Int32
- #height=(new_h)
- #new_line : Bool
- #pixel_size
Instance methods inherited from class CYOAdventure::Content
draw(offset : Int32, height : Int32)
draw,
height : Int32
height,
new_line : Bool
new_line,
next : Content | Nil
next,
node : Node
node,
node? : Node | Nil
node?
Constructor methods inherited from class CYOAdventure::Content
new(node : Node, line : String, dir : String) : Content
new
Constructor Detail
Class Method Detail
Instance Method Detail
def draw(offset : Int32 = 0, height = @height)
#
Store in a cache to be draw after the NCurses refresh