class GSF::TileMapLevel

Defined in:

gsf/tile_map_level.cr

Constant Summary

EmptyString = ""

Constructors

Instance Method Summary

Constructor Detail

def self.new(rows : Int32 = 1, cols : Int32 = 1) #

[View source]

Instance Method Detail

def cols : Int32 #

[View source]
def draw(window : SF::RenderWindow) #

[View source]
def height #

[View source]
def init_player_start(row : Int32, col : Int32) #

[View source]
def init_tile_data(json : JSON::Any) #

[View source]
def init_tiles #

[View source]
def rows : Int32 #

[View source]
def tile_map_file #

[View source]
def tile_sheet_data_file #

[View source]
def tile_sheet_file #

[View source]
def tile_size #

[View source]
def tiles : Array(Array(Int32)) #

[View source]
def width #

[View source]