Created
November 2, 2011 15:47
-
-
Save talentless/1333986 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "TGScoreLabel.h" | |
-(void) setupPercentComplete { | |
TGScoreLabel * myScoreLabel = [TGScoreLabel scoreLabelWithFormatString:@"%d%%!" score:0 dimensions:CGSizeMake(380, 45) alignment:UITextAlignmentRight fontName:@"TacoGraveyard" fontSize:36]; | |
myScoreLabel.position = myScoreLabelPosition; | |
[self addChild:myScoreLabel]; | |
[myScore rollToScore: percentComplete]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment