Animation
Representation of an animation.
Tags
Table of Contents
- $frames : array<string|int, mixed>
- All frames within this animation.
- addFrame() : self
- getFrames() : array<string|int, Frame>
- removeFrame() : self
Properties
$frames
All frames within this animation.
private
array<string|int, mixed>
$frames
= []
Tags
Methods
addFrame()
public
addFrame(Frame $frame) : self
Parameters
- $frame : Frame
Return values
self —getFrames()
public
getFrames() : array<string|int, Frame>
Return values
array<string|int, Frame> —removeFrame()
public
removeFrame(Frame $frame) : self
Parameters
- $frame : Frame