diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-14 18:04:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-14 18:04:25 +0000 |
commit | 715d0c3952a3a1d59b64074e472d0a9a3b414351 (patch) | |
tree | a5d0ddd0613caaf4f9fe01f9a3bd34e823651ad5 /src/game/game.h | |
parent | 83e8023c5e46635753a609329cf9805a3520001e (diff) |
dedicated server accepts incoming connections
Diffstat (limited to 'src/game/game.h')
-rw-r--r-- | src/game/game.h | 6 |
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; |