mirror of https://github.com/axmolengine/axmol.git
21 lines
518 B
Objective-C
21 lines
518 B
Objective-C
//
|
|
// main.m
|
|
// iphone
|
|
//
|
|
// Created by Walzer on 10-11-16.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
// Under iOS and the Simulator, we can use an alternate Accelerometer interface
|
|
#import "cocos2dx/platform/ios/Simulation/AccelerometerSimulation.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
|
int retVal = UIApplicationMain(argc, argv, nil, @"AppController");
|
|
[pool release];
|
|
return retVal;
|
|
}
|