struct Combat::Unit

Defined in:

mechanics/combat.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(tile : UnitTile, name : String, genitive : String, pos : IntVector2) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(tile _tile = @tile, name _name = @name, genitive _genitive = @genitive, pos _pos = @pos) #

[View source]
def genitive : String #

def name : String #

def pos : IntVector2 #

def pos=(pos : IntVector2) #

[View source]
def tile : UnitTile #