class Tile

Included Modules

Direct Known Subclasses

Defined in:

tile.cr
tile/map.cr
tile/namespace.cr
tile/namespace/animator.cr
tile/rasterizer.cr
tile/rasterizer/distortion.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tile_size, width, map, texture_path, viewport, &) #

[View source]

Instance Method Detail

def assign_tile_at(pos, index) #

[View source]
def draw(target, states) #

[View source]
def map : Map #

[View source]
def move_by(x, y) #

[View source]
def move_to(x, y) #

[View source]
def namespace : Namespace #

[View source]
def next_tile_at(pos) #

[View source]
def position #

[View source]
def prev_tile_at(pos) #

[View source]
def rasterizer : Rasterizer #

[View source]
def tile_at(pos) #

[View source]
def values : Tile::Values #

[View source]