Public Member Functions

<CCLabelProtocol> Protocol Reference

#import <CCProtocols.h>

Inherited by CCBitmapFontAtlas, CCLabel, and CCLabelAtlas.

List of all members.

Public Member Functions

(void) - setString:
(void) - setCString:

Detailed Description

Common interface for Labels

Definition at line 100 of file CCProtocols.h.


Member Function Documentation

- (void) setCString: (char *)  label   [optional]

sets a new label using a CString. It is faster than setString since it doesn't require to alloc/retain/release an NString object.

Since:
v0.99.0
- (void) setString: (NSString *)  label  

sets a new label using an NSString

Reimplemented in CCLabel.


The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1