Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/game.h b/src/game/game.h
index d8a6185..3811a06 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -36,6 +36,12 @@ public:
/// execute one game grame
void frame(float seconds);
+ /// is called when a player connects
+ void player_connect(core::Player &player);
+
+ /// is called when a player disconnects
+ void player_disconnect(core::Player &player);
+
/// sectors in space
std::vector<Sector*> sectors;