Beispiel #1
0
cocos2d::CCLabelTTF* VGPLabel::createLabel( char *strName, char* fontName, float fontSize,
								cocos2d::CCSize dimensions, cocos2d::CCPoint position, 
								cocos2d::CCTextAlignment hAlignment, cocos2d::CCVerticalTextAlignment vAlignment, int zOrder, int tag )
{
	CCLabelTTF* label = CCLabelTTF::create( strName, fontName, fontSize, dimensions,  hAlignment, vAlignment );
	label->setPosition( position ); 
	label->setZOrder( zOrder );
	label->setTag( tag );
	return label;
}