Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-13 00:40:59 +0000
committerStijn Buys <ingar@osirion.org>2008-02-13 00:40:59 +0000
commit1f95c377b2abfaa454b1f2298af10956d95ad941 (patch)
tree2715cf49a8de16921775eff0dc1ac0ceace145b2 /src/game/game.h
parent468ab7f566ee493b8c7ff6a95763d99ed2ccc200 (diff)
split client from game module
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 abe0c0d..9c993fe 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -26,6 +26,9 @@ namespace game
class Game : public core::GameInterface {
public:
+ Game();
+ ~Game();
+
/// initialize the game
bool init();
/// shutdown the game
@@ -36,6 +39,9 @@ public:
/// a player joins the game
void event_join(core::Player *player);
+ /// a player leaves the game
+ void event_leave(core::Player *player);
+
/// sectors in space
std::vector<Sector*> sectors;