class Scar::Tiled::ImageLayer

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 id : Int32 #

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

[View source]
def image : String | Nil #

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

[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 tintcolor : SF::Color | Nil #

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

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

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

[View source]
def visible : Bool #

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

[View source]
def x : Int32 #

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

[View source]
def y : Int32 #

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

[View source]