Mercurial > hg > soniczoomios
diff TimedSessionController.mm @ 30:c0a6f7c66719
Josh M test "in house" version 0.1
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 27 Feb 2013 11:39:07 +0000 |
parents | fabb3a5cdfc9 |
children | 23ef179c3748 |
line wrap: on
line diff
--- a/TimedSessionController.mm Fri Feb 22 17:41:38 2013 +0000 +++ b/TimedSessionController.mm Wed Feb 27 11:39:07 2013 +0000 @@ -9,7 +9,6 @@ #import "TimedSessionController.h" @interface TimedSessionController() // private stuff - @end @implementation TimedSessionController @@ -56,6 +55,7 @@ -(void)showNextPrompt{ NSString *themessage; scount++; + ((testApp *)self.theOFAppRef)->moveVel = TwoVector(); // stops movement if(scount < 3){ themessage = [alertMessages objectAtIndex:orders[theOrder][scount] ]; }else{ @@ -85,6 +85,7 @@ if(scount < 3){ NSInteger next = orders[theOrder][scount]; + ((testApp *)self.theOFAppRef)->interfaceSelected(next); self.theCurrentTimer = [NSTimer scheduledTimerWithTimeInterval:SECONDS_PER_INTERFACE target:self selector:@selector(showNextPrompt) userInfo:nil repeats:NO];