summaryrefslogtreecommitdiff
path: root/platform/iphone/game_center.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone/game_center.h')
-rw-r--r--platform/iphone/game_center.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/iphone/game_center.h b/platform/iphone/game_center.h
index 1e9a68fe48..10c8ef52fb 100644
--- a/platform/iphone/game_center.h
+++ b/platform/iphone/game_center.h
@@ -33,7 +33,7 @@
#ifndef GAME_CENTER_H
#define GAME_CENTER_H
-#include "core/object.h"
+#include "core/class_db.h"
class GameCenter : public Object {
GDCLASS(GameCenter, Object);
@@ -48,7 +48,7 @@ class GameCenter : public Object {
void return_connect_error(const char *p_error_description);
public:
- void connect();
+ Error authenticate();
bool is_authenticated();
Error post_score(Dictionary p_score);