Frame
Representation of a frame.
Tags
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
$duration
How long (in milliseconds) this frame should be displayed before advancing to the next frame.
private
int|null
$duration
= null
Tags
$tileId
The local ID of a tile within the parent {@see TileSet}.
private
int|null
$tileId
= null
Tags
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