struct Combat::Enemy

Defined in:

mechanics/combat.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(hp : Int32, max_hp : Int32) #

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

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(hp _hp = @hp, max_hp _max_hp = @max_hp) #

[View source]
def hp : Int32 #

def max_hp : Int32 #