struct StressBehaviour

Defined in:

wif/game/stress.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct GameComponent

after_initialize after_initialize

Constructor methods inherited from struct GameComponent

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) new

Class methods inherited from struct GameComponent

component_index component_index

Constructor Detail

def self.new(level : Int32, text : String, effect : Float64) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(level _level = @level, text _text = @text, effect _effect = @effect) #

[View source]
def effect : Float64 #

def level : Int32 #

def text : String #