mirror of https://github.com/axmolengine/axmol.git
fixed #202
This commit is contained in:
parent
9a431a434e
commit
9c23559e9c
|
@ -21,18 +21,10 @@
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
#ifndef __HELLOWORLD_H__
|
||||
#define __HELLOWORLD_H__
|
||||
|
||||
#include "cocos2d.h"
|
||||
@interface AppController : NSObject <UIAccelerometerDelegate, UIAlertViewDelegate, UITextFieldDelegate,UIApplicationDelegate> {
|
||||
UIWindow *window;
|
||||
}
|
||||
|
||||
class HelloWorld : public cocos2d::CCXApplication {
|
||||
public:
|
||||
HelloWorld();
|
||||
|
||||
virtual bool initCocos2d();
|
||||
|
||||
};
|
||||
|
||||
#endif // __HELLOWORLD_H__
|
||||
@end
|
||||
|
|
@ -22,10 +22,10 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "HelloWorldAppDelegate.h"
|
||||
#import "AppController.h"
|
||||
#import "cocos2d.h"
|
||||
#import "EAGLView.h"
|
||||
#import "HelloWorld.h"
|
||||
#import "HelloWorldAppDelegate.h"
|
||||
|
||||
@implementation AppController
|
||||
|
|
@ -1 +1 @@
|
|||
ff523c8cfd1e30462a063fec9ef90fabb35fd58d
|
||||
404037c1a25709cc29495c7b5272d1178f965608
|
|
@ -22,7 +22,7 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "HelloWorld.h"
|
||||
#include "HelloWorldAppDelegate.h"
|
||||
|
||||
using namespace cocos2d;
|
||||
|
|
@ -21,10 +21,18 @@
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
#ifndef __HELLOWORLD_H__
|
||||
#define __HELLOWORLD_H__
|
||||
|
||||
@interface AppController : NSObject <UIAccelerometerDelegate, UIAlertViewDelegate, UITextFieldDelegate,UIApplicationDelegate> {
|
||||
UIWindow *window;
|
||||
}
|
||||
#include "cocos2d.h"
|
||||
|
||||
@end
|
||||
class HelloWorld : public cocos2d::CCXApplication {
|
||||
public:
|
||||
HelloWorld();
|
||||
|
||||
virtual bool initCocos2d();
|
||||
|
||||
};
|
||||
|
||||
#endif // __HELLOWORLD_H__
|
||||
|
||||
|
|
Loading…
Reference in New Issue