LHNodeAnimationProtocol Reference

LHNodeAnimationProtocol.h

Overview

LevelHelper 2 nodes that can be animated conform to this protocol.

Instance Methods

setActiveAnimation

- (void)setActiveAnimation
Parameters
animation

The animation that is about to get activated.

Discussion

Set the active animation on a node.

Declared In
LHNodeAnimationProtocol.h

getActiveAnimation

- (LHAnimation *)getActiveAnimation
Discussion

Returns the active animation on a node or null if no active animation.

Declared In
LHNodeAnimationProtocol.h

getAnimations

- (__Array *)getAnimations
Discussion

Returns all animations available on this node.

Declared In
LHNodeAnimationProtocol.h

getAnimationWithName

- (LHAnimation *)getAnimationWithName
Parameters
animName

The name of the animation.

Discussion

Get the animation with a specific name or nullptr if not found.

Declared In
LHNodeAnimationProtocol.h
Last updated: 2015-2-12

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.