diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-10 16:41:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-10 16:41:38 +0000 |
commit | 02fcd22d8cde355aa898a8c6bb4773d9434b8e9a (patch) | |
tree | 9397f1f5b61a0978acadc4c15fd330ee7138c59b /src/core/gameserver.h | |
parent | 4331f5c17901f46693dcb5c2df96276f6851be25 (diff) |
adds KeyPress, DevInfo and Stats widgets
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r-- | src/core/gameserver.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h index 0dfdd9d..550dd99 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -28,19 +28,16 @@ public: /*----- inspectors ------------------------------------------------ */ /// returns true if the game server can run a time frime - inline bool running() { return server_running; } + inline bool running() const { return server_running; } /// returns true if the game server can not run a time frime - inline bool error() { return !server_running; } + inline bool error() const { return !server_running; } /// returns true if the game is running an interactive module - bool interactive(); - - /// show the current time - void showtime(); + virtual bool interactive() const; /// current server game time - inline float time() const { return server_time; } + virtual inline float time() const { return server_time; } /*----- mutators -------------------------------------------------- */ |