class Tile

Defined in:

compile_time/bmp_to_assets.cr

Constant Summary

H_FLIPPED = ((0...(8 * 8)).to_a.in_groups_of(8)).map() do |__arg0| __arg0.map(&.not_nil!).reverse end.flatten
HV_FLIPPED = ((0...(8 * 8)).to_a.in_groups_of(8)).map() do |__arg4| __arg4.map(&.not_nil!).reverse end.reverse.flatten
V_FLIPPED = ((0...(8 * 8)).to_a.in_groups_of(8)).map(&.map(&.not_nil!)).reverse.flatten

Instance Method Summary

Instance methods inherited from class Object

===(other) ===

Instance Method Detail

def h_flipped #

[View source]
def hv_flipped #

[View source]
def v_flipped #

[View source]
def values_at(array : Array(Int32)) : Array(Bytes) #

[View source]