I'm trying to add the value playerhight, among other values to NSMutableArray, but it won't let me build and I can't figure out why.
#import "iGameViewController.h"
@implementation iGameViewController
@synthesize player;
int playerheight;
NSMutableArray *location = [NSMutableArray arrayWithCapacity:3];
-(IBAction)up;{
player.center = CGPointMake(player.center.x, player.center.y - 5);
location = [NSMutableArray new];
[location addObject:player.center.x];
[location addObject:player.center.y];
[location addObject:playerheight];
}