class

Dungeon::Sprite

Inherits Reference < Object

Constants

DEBUG = false

Constructors

new(asset_file : String, frames : Int32, rows : Int32)

Class methods

get(asset_file)
get_texture(asset_file)
load(asset_file : String, frames, rows)
load(sprites : Array(NamedTuple(asset_file: String, frames: Int32, rows: Int32)))
load_texture(asset_file)

Instance methods

asset_file
frames
get_texture
height
rows
texture
width