Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
scar
main
Scar
Action
Actions
Timed
App
Assets
Asset
Font
Json
Music
Sound
Text
Texture
Tilemap
Yaml
Component
Components
AnimatedSprite
Drawable
Sprite
Text
Tilemap
Config
Drawable
Easing
CubicBezier
EaseInCubic
EaseInOutCubic
EaseInOutQuad
EaseInOutQuart
EaseInOutQuint
EaseInQuad
EaseInQuart
EaseInQuint
EaseOutCubic
EaseOutQuad
EaseOutQuart
EaseOutQuint
EasingDefinition
Linear
Entity
Event
Closed
Event
GainedFocus
JoystickButtonPressed
JoystickButtonReleased
JoystickConnected
JoystickDisconnected
KeyPressed
KeyReleased
LostFocus
MouseButtonPressed
MouseButtonReleased
MouseEntered
MouseLeft
MouseMoved
MouseWheelScrolled
Resized
TextEntered
TouchBegan
TouchEnded
TouchMoved
Input
Logger
Music
Object
Objects
Camera
Scene
Space
System
Systems
AnimateSprites
Tiled
Chunk
ColorConverter
Compression
CompressionConverter
DrawOrder
Ellipse
Encoding
Frame
Grid
Group
HAlign
ImageLayer
Layer
Map
Object
ObjectAlignment
ObjectGroup
ObjectTemplate
Orientation
Point
PointObject
Polygon
Polyline
Property
Rectangle
RenderOrder
StaggerAxis
StaggerIndex
TemplateInstance
Terrain
Text
TextObject
Tile
TileLayer
TileObject
TileOffset
Tileset
Transformations
VAlign
WangColor
WangSet
WangSetType
WangTile
Tween
Util
Vec
SF
Vector2
Built with Crystal 1.9.2
2023-10-07 15:39:46 UTC
class
Scar::Tiled::TileObject
Scar::Tiled::TileObject
Scar::Tiled::Object
Reference
Object
Defined in:
scar/tiled_map.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#gid
: Int32
#gid=
(gid : Int32)
Instance methods inherited from class
Scar::Tiled::Object
height : Float64
height
,
height=(height : Float64)
height=
,
id : Int32
id
,
id=(id : Int32)
id=
,
name : String
name
,
name=(name : String)
name=
,
properties : Array(Property)
properties
,
properties=(properties : Array(Property))
properties=
,
rotation : Float64
rotation
,
rotation=(rotation : Float64)
rotation=
,
type : String
type
,
type=(type : String)
type=
,
visible : Bool
visible
,
visible=(visible : Bool)
visible=
,
width : Float64
width
,
width=(width : Float64)
width=
,
x : Float64
x
,
x=(x : Float64)
x=
,
y : Float64
y
,
y=(y : Float64)
y=
Constructor methods inherited from class
Scar::Tiled::Object
new(pull : JSON::PullParser)
new
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
gid
: Int32
#
[
View source
]
def
gid=
(gid : Int32)
#
[
View source
]