class IconRenderer::Assets::Spritesheet
- IconRenderer::Assets::Spritesheet
- Reference
- Object
Overview
Represents the metadata of a spritesheet and its sprites.
Defined in:
assets.crConstructors
- .new(sprites : Hash(String, Sprite), texture_file_name : String, size : Tuple(Int32, Int32))
-
.new(obj : PList::Value)
Shorthand for initializing a spritesheet with its .plist representation.
Instance Method Summary
Constructor Detail
def self.new(sprites : Hash(String, Sprite), texture_file_name : String, size : Tuple(Int32, Int32))
#
def self.new(obj : PList::Value)
#
Shorthand for initializing a spritesheet with its .plist representation.