struct Day24::UnitType

Defined in:

day24.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hp : Int32, modifiers : Hash(Element, Int32), damage : Int32, element : Element, initiative : Int32) #

[View source]
def self.new(astring) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(hp _hp = @hp, modifiers _modifiers = @modifiers, damage _damage = @damage, element _element = @element, initiative _initiative = @initiative) #

[View source]
def damage : Int32 #

def element : Element #

def hp : Int32 #

def initiative : Int32 #

def modifiers : Hash(Element, Int32) #