struct Config
- Config
- GameComponent
- ECS::Component
- Struct
- Value
- Object
Defined in:
wif/game/systems.crConstructors
- .new(n_skills : Int32, work_duration : Int32, relation_chance : Array(Float64), relation_stress : Array(Float64), support_days : Int32, antistress : Array(Float64), debug : Bool)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Class Method Summary
Instance Method Summary
- #antistress : Array(Float64)
- #clone
- #copy_with(n_skills _n_skills = @n_skills, work_duration _work_duration = @work_duration, relation_chance _relation_chance = @relation_chance, relation_stress _relation_stress = @relation_stress, support_days _support_days = @support_days, antistress _antistress = @antistress, debug _debug = @debug)
- #debug : Bool
- #n_skills : Int32
- #relation_chance : Array(Float64)
- #relation_stress : Array(Float64)
- #support_days : Int32
- #work_duration : Int32
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(n_skills : Int32, work_duration : Int32, relation_chance : Array(Float64), relation_stress : Array(Float64), support_days : Int32, antistress : Array(Float64), debug : Bool)
#
Class Method Detail
Instance Method Detail
def copy_with(n_skills _n_skills = @n_skills, work_duration _work_duration = @work_duration, relation_chance _relation_chance = @relation_chance, relation_stress _relation_stress = @relation_stress, support_days _support_days = @support_days, antistress _antistress = @antistress, debug _debug = @debug)
#