struct Combat::MapCoords

Defined in:

mechanics/combat.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(area : AABB, cell_size : Float64) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def area : AABB #

def cell(x, y) #

[View source]
def cell(v) #

[View source]
def cell_size : Float64 #

def clone #

[View source]
def copy_with(area _area = @area, cell_size _cell_size = @cell_size) #

[View source]