struct LifeSupport
- LifeSupport
- GameComponent
- ECS::Component
- Struct
- Value
- Object
Defined in:
wif/game/life.crConstructors
- .new(produced : Int32, adsorbed : Int32, ppm : Int32, days : Int32)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Class Method Summary
Instance Method Summary
- #adsorbed : Int32
- #clone
- #copy_with(produced _produced = @produced, adsorbed _adsorbed = @adsorbed, ppm _ppm = @ppm, days _days = @days)
- #days : Int32
- #ppm : Int32
- #produced : 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
Class Method Detail
Instance Method Detail
def copy_with(produced _produced = @produced, adsorbed _adsorbed = @adsorbed, ppm _ppm = @ppm, days _days = @days)
#