Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)gameLoop {
- if (loopCounter < 10){
- revealArray = [[NSMutableArray alloc] initWithObjects:@"1", @"2", @"3", @"4", @"5", @"6", @"7", @"8", nil];
- cover1.alpha = 1.0;
- cover2.alpha = 1.0;
- cover3.alpha = 1.0;
- cover4.alpha = 1.0;
- cover5.alpha = 1.0;
- cover6.alpha = 1.0;
- cover7.alpha = 1.0;
- cover8.alpha = 1.0;
- coreView.alpha = 1.0;
- NSDictionary *question = nil;
- question = [questionsArray objectAtIndex:loopCounter];
- questionImage.image = [UIImage imageNamed:[question objectForKey:@"imageNames"]];
- [self getAnswers];
- [self.view setUserInteractionEnabled:YES];
- }
- else {
- [self.view setUserInteractionEnabled:NO];
- [self animateResults];
- return;
- }
- }
- void CFRunLoopStop ( CFRunLoopRef loopCounter );
- loopCounter = pause();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement