class Scar::Tiled::Tile

Overview

TODO load image maybe?

Included Modules

Defined in:

scar/tiled_map.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def animation : Array(Frame) #

[View source]
def animation=(animation : Array(Frame)) #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def image : String | Nil #

[View source]
def image=(image : String | Nil) #

[View source]
def imageheight : Int32 #

[View source]
def imageheight=(imageheight : Int32) #

[View source]
def imagewidth : Int32 #

[View source]
def imagewidth=(imagewidth : Int32) #

[View source]
def objectgroup : Layer | Nil #

[View source]
def objectgroup=(objectgroup : Layer | Nil) #

[View source]
def probability : Float64 | Nil #

[View source]
def probability=(probability : Float64 | Nil) #

[View source]
def properties : Array(Property) #

[View source]
def properties=(properties : Array(Property)) #

[View source]
def terrain : Array(Int32) | Nil #

[View source]
def terrain=(terrain : Array(Int32) | Nil) #

[View source]
def type : String | Nil #

[View source]
def type=(type : String | Nil) #

[View source]