class Scar::Tiled::TileLayer

Defined in:

scar/tiled_map.cr

Constructors

Instance Method Summary

Instance methods inherited from class Scar::Tiled::Layer

type : String type, type=(type : String) type=

Constructor methods inherited from class Scar::Tiled::Layer

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]

Instance Method Detail

def [](x : Int32, y : Int32) : Int32 #

[View source]
def after_initialize #

[View source]
def chunks : Array(Chunk) #

[View source]
def chunks=(chunks : Array(Chunk)) #

[View source]
def compression : Compression #

[View source]
def compression=(compression : Compression) #

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

[View source]
def data=(data : Array(Int32)) #

[View source]
def encoding : Encoding #

[View source]
def encoding=(encoding : Encoding) #

[View source]
def height : Int32 #

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

[View source]
def id : Int32 #

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

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def offsetx : Float64 #

[View source]
def offsetx=(offsetx : Float64) #

[View source]
def offsety : Float64 #

[View source]
def offsety=(offsety : Float64) #

[View source]
def opacity : Float64 #

[View source]
def opacity=(opacity : Float64) #

[View source]
def parallaxx : Float64 #

[View source]
def parallaxx=(parallaxx : Float64) #

[View source]
def parallaxy : Float64 #

[View source]
def parallaxy=(parallaxy : Float64) #

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

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

[View source]
def startx : Int32 #

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

[View source]
def starty : Int32 #

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

[View source]
def tintcolor : SF::Color | Nil #

[View source]
def tintcolor=(tintcolor : SF::Color | Nil) #

[View source]
def visible : Bool #

[View source]
def visible=(visible : Bool) #

[View source]
def width : Int32 #

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

[View source]
def x : Int32 #

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

[View source]
def y : Int32 #

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

[View source]