|
@@ -32,21 +32,10 @@
|
|
|
|
|
|
#include "game_center.h"
|
|
|
|
|
|
-#ifdef __IPHONE_9_0
|
|
|
-
|
|
|
-#import <GameKit/GameKit.h>
|
|
|
-extern "C" {
|
|
|
-
|
|
|
-#else
|
|
|
+#import "app_delegate.h"
|
|
|
|
|
|
-extern "C" {
|
|
|
#import <GameKit/GameKit.h>
|
|
|
|
|
|
-#endif
|
|
|
-
|
|
|
-#import "app_delegate.h"
|
|
|
-};
|
|
|
-
|
|
|
GameCenter *GameCenter::instance = NULL;
|
|
|
|
|
|
void GameCenter::_bind_methods() {
|