-
-
Calls on failure handler
Name |
Type |
Description |
data |
*
|
optional
Data |
- Version:
-
-
Calls on pause handler
Name |
Type |
Description |
data |
*
|
optional
Data |
- Version:
-
_callOnRepeatHandler
(data)
private
inherited
-
Calls on repeat handler
Name |
Type |
Description |
data |
*
|
optional
Data |
- Version:
-
-
Calls on reset handler
Name |
Type |
Description |
data |
*
|
optional
Data |
- Version:
-
-
Calls on start handler
Name |
Type |
Description |
data |
*
|
optional
Data |
- Version:
-
_callOnSuccessHandler
(forcedSuccess, data)
private
inherited
-
Calls on success handler
Name |
Type |
Default |
Description |
forcedSuccess |
Boolean
|
false
|
optional
|
data |
*
|
|
optional
Data |
- Version:
-
_callOnUpdateHandler
(data)
private
inherited
-
Calls on update handler
Name |
Type |
Description |
data |
*
|
optional
Data |
-
_canCallOnFailHandler
()Boolean
private
inherited
-
Returns true if can call on failure handler
Returns:
Type |
Description |
Boolean
|
Can call on failure handler |
-
_canCallOnPauseHandler
()Boolean
private
inherited
-
Returns true if can call on pause handler
Returns:
Type |
Description |
Boolean
|
Can call on pause handler |
-
_canCallOnRepeatHandler
()Boolean
private
inherited
-
Returns true if can call on repeat handler
Returns:
Type |
Description |
Boolean
|
Can call on repeat handler |
-
_canCallOnResetHandler
()Boolean
private
inherited
-
Returns true if can call on reset handler
Returns:
Type |
Description |
Boolean
|
Can call on reset handler |
-
_canCallOnStartHandler
()Boolean
private
inherited
-
Returns true if can call on start handler
Returns:
Type |
Description |
Boolean
|
Can call on start handler |
-
_canCallOnSuccessHandler
()Boolean
private
inherited
-
Returns true if can call on success handler
Returns:
Type |
Description |
Boolean
|
Can call on success handler |
-
_canCallOnUpdateHandler
()Boolean
private
inherited
-
Returns true if can call on update handler
Returns:
Type |
Description |
Boolean
|
Can call on update handler |
-
_canUpdateAction
()Boolean
private
-
Returns true if can update the action
Returns:
Type |
Description |
Boolean
|
Can update the action |
-
-
Clears the remaining time of the event repeat
-
-
Clears the remaining time of the event repeat
-
-
Resets the remaining amount of repeats of the event
-
-
Resets the remaining time of the event repeat
-
-
Updates the animation
Name |
Type |
Description |
data |
*
|
optional
Data |
-
_updateAction
(action)
private
-
Updates the action
-
_updateActions
()
private
-
Updates the actions
-
-
Updates the pause
-
_updateRemainingPauseTime
()
private
inherited
-
Updates the remaining pause time
-
-
Updates the remaining repeats
-
-
Updates the remaining time
-
-
Adds the action
-
-
Adds the actions
-
-
Fails the events
Name |
Type |
Description |
data |
*
|
optional
Data |
- Since:
-
-
Finishes the event
Name |
Type |
Default |
Description |
forcedSuccess |
Boolean
|
false
|
optional
Forced successful completion of the event |
data |
*
|
|
optional
Data |
- Version:
-
-
Returns the elapsed repeats
Returns:
Type |
Description |
Number
|
Elapsed repeats |
-
-
Returns the elapsed time
Returns:
Type |
Description |
Number
|
Elapsed time |
-
hasAction
(action)Boolean
-
Returns true if the animation has the action
Returns:
Type |
Description |
Boolean
|
Animation has the action |
-
-
Returns true if the animation has the actions
Returns:
Type |
Description |
Boolean
|
Animation has the actions |
-
-
Returns true if the event has the manager
- Since:
Returns:
Type |
Description |
Boolean
|
Event has the manager |
-
-
Returns true if the event has the on failure handler
Returns:
Type |
Description |
Boolean
|
Event has the on failure handler |
-
-
Returns true if the event has the on pause handler
Returns:
Type |
Description |
Boolean
|
Event has the on pause handler |
-
-
Returns true if the event has the on repeat handler
Returns:
Type |
Description |
Boolean
|
Event has the on repeat handler |
-
-
Returns true if the event has the on reset handler
Returns:
Type |
Description |
Boolean
|
Event has the on reset handler |
-
-
Returns true if the event has the on start handler
Returns:
Type |
Description |
Boolean
|
Event has the on start handler |
-
-
Returns true if the event has the on success handler
Returns:
Type |
Description |
Boolean
|
Event has the on success handler |
-
-
Returns true if the event has the on update handler
Returns:
Type |
Description |
Boolean
|
Event has the on update handler |
-
-
Returns true if the event has the target
Returns:
Type |
Description |
Boolean
|
Event has the target |
-
-
Returns true if the event has the type
Returns:
Type |
Description |
Boolean
|
Event has the type |
-
-
Initializes the animation
Name |
Type |
Description |
object |
DKTools.Animation
|
Object
|
optional
DKTools.Animation or parameters |
- Version:
-
isActionFinished
(action)Boolean
-
Returns true if the action is finished
Returns:
Type |
Description |
Boolean
|
Action is finished |
-
isActionUpdated
(action)Boolean
-
Returns true if the action is updated
Returns:
Type |
Description |
Boolean
|
Action is updated |
-
-
Returns true if the event is animation
Returns:
Type |
Description |
Boolean
|
Event is animation |
-
-
Returns true if the event is action of an animation
Returns:
Type |
Description |
Boolean
|
Event is action of an animation |
-
-
Returns true if the animation if finished
- Version:
Returns:
Type |
Description |
Boolean
|
Animation if finished |
-
-
Returns true if the event is paused
Returns:
Type |
Description |
Boolean
|
Event is paused |
-
-
Returns true if the event is started
Returns:
Type |
Description |
Boolean
|
Event is started |
-
-
Returns true if the event is updated
Returns:
Type |
Description |
Boolean
|
Event is updated |
-
-
Pauses the event
Name |
Type |
Default |
Description |
duration |
Number
|
-1
|
optional
Duration of pause |
-
-
Removes the event
Returns true if the event was removed
- Version:
Returns:
Type |
Description |
Boolean
|
Event was removed |
-
-
Removes the action
-
-
Repeats the animation
-
-
Repeats the actions
-
-
Resets the animation
- Version:
-
-
Resets the actions
-
-
Resumes the event
-
-
Sets the manager
- Since:
-
-
Sets the on failure handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on pause handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on repeat handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on reset handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on start handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on success handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the on update handler
Name |
Type |
Description |
handler |
function
|
Handler |
-
-
Sets the target
-
-
Stops the event
Name |
Type |
Default |
Description |
forcedSuccess |
Boolean
|
false
|
optional
Forced successful completion of the event |
-
-
Updates the event
Name |
Type |
Description |
data |
*
|
optional
Data |