Declared in CCNodeAdornments.h

Overview

Adornments are CCNodes that support the CCNodeAdornmentProtocol, and can be added to other CCNodes that support the AdornableCCNodeProtocol protocol in order to add transient visual characteristics to the adorned CCNode. Examples of adornments might be a shine, a surrounding ring, an overlay label, or an action that scales, rotates, or otherwise temporarily changes the adorned CCNode.

Tasks

Instance Methods

activate

Activates this adornment. Typically this will trigger a CCAction to animate the appearance of the adornment over the base CCNode, or will alter the base node in some way.

- (void)activate

Declared In

CCNodeAdornments.h

deactivate

Deactivates this adornment. Typically this will trigger a CCAction to animate the reversion to the unadorned base CCNode.

- (void)deactivate

Declared In

CCNodeAdornments.h