struct Day24::UnitType
- Day24::UnitType
- Struct
- Value
- Object
Defined in:
day24.crConstructors
- .new(hp : Int32, modifiers : Hash(Element, Int32), damage : Int32, element : Element, initiative : Int32)
- .new(astring)
Instance Method Summary
- #clone
- #copy_with(hp _hp = @hp, modifiers _modifiers = @modifiers, damage _damage = @damage, element _element = @element, initiative _initiative = @initiative)
- #damage : Int32
- #element : Element
- #hp : Int32
- #initiative : Int32
- #modifiers : Hash(Element, Int32)
Constructor Detail
def self.new(hp : Int32, modifiers : Hash(Element, Int32), damage : Int32, element : Element, initiative : Int32)
#
Instance Method Detail
def copy_with(hp _hp = @hp, modifiers _modifiers = @modifiers, damage _damage = @damage, element _element = @element, initiative _initiative = @initiative)
#