Skip to content

Instantly share code, notes, and snippets.

@allenluce-zz
Created February 28, 2013 23:13
Show Gist options
  • Save allenluce-zz/5060981 to your computer and use it in GitHub Desktop.
Save allenluce-zz/5060981 to your computer and use it in GitHub Desktop.
@interface TiltController : NSObject
@end
@implementation TiltController
// ... lots more here ...
@end
TiltController *tiltController = [[TiltController alloc] init];
float Movement::GetDirection()
{
// ...
// Why is tiltController NULL here??
return [tiltController getTiltDirection];
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment