VISU - PHP Game Framework

VISUTransitionAnimationSystemDelegate

Interface for animation system delegates

Table of Contents

Methods

animationDidStart()  : void
Called when an animation starts
animationDidStop()  : void
Called when an animation stops
animationGroupDidBegin()  : void
Called when an animation group begins
animationGroupDidFinish()  : void
Called when an animation group finishes

Methods

animationDidStart()

Called when an animation starts

public animationDidStart(BaseAnimation $animation, int $entity, bool $reversing, bool $repeating, bool $waiting) : void
Parameters
$animation : BaseAnimation

The animation

$entity : int

The entity the animation is running on

$reversing : bool

Is the animation reversing?

$repeating : bool

Is the animation repeating?

$waiting : bool

Is the animation waiting?


        
On this page

Search results