Documentation

Frame

Representation of a frame.

Tags
see
https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#frame

Documentation

Table of Contents

$duration  : int|null
How long (in milliseconds) this frame should be displayed before advancing to the next frame.
$tileId  : int|null
The local ID of a tile within the parent {@see TileSet}.
getDuration()  : int|null
getTileId()  : int|null
setDuration()  : Frame
setTileId()  : Frame

Properties

Methods

getDuration()

public getDuration() : int|null
Return values
int|null

getTileId()

public getTileId() : int|null
Return values
int|null

setDuration()

public setDuration(int|null $duration) : Frame
Parameters
$duration : int|null
Return values
Frame

setTileId()

public setTileId(int|null $tileId) : Frame
Parameters
$tileId : int|null
Return values
Frame

Search results