class CYOAdventure

Included Modules

Defined in:

cyo_adventure.cr
cyo_adventure/choice.cr
cyo_adventure/content.cr
cyo_adventure/ending.cr
cyo_adventure/image.cr
cyo_adventure/interactable.cr
cyo_adventure/node.cr
cyo_adventure/text.cr

Constant Summary

BOOK_FILE_NAME = "book.cyo"
VERSION = "0.2.0"

Constructors

Instance Method Summary

Instance methods inherited from module CYOAdventure::Interactable

handle_key(key) : Bool handle_key, handle_mouse(mouse : NCurses::MouseEvent) : Bool handle_mouse

Constructor Detail

def self.new(path : String) #

[View source]

Instance Method Detail

def handle_key(key) : Bool #

[View source]
def handle_mouse(mouse) : Bool #

[View source]
def loop #

[View source]