class Buzzle::QuestAction

Defined in:

buzzle/quest_action.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(quest : String, step : String, messages : Array(String) = [] of String, character : Nil | Buzzle::Character = nil, before : -> _ = -> do end, after : -> _ = -> do end) #

[View source]

Instance Method Detail

def action(player : Player) #

[View source]
def message(&block) #

[View source]
def messages : Array(String) #

[View source]
def messages=(messages : Array(String)) #

[View source]
def quest : String #

[View source]
def quest=(quest : String) #

[View source]
def step : String #

[View source]
def step=(step : String) #

[View source]