diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-11 00:19:11 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-11 00:19:11 +0000 |
commit | afec8e7c3aec1a186512b997ed3b717efef8fc43 (patch) | |
tree | 92f19ef9144bd271c72a19a15ae32b7dcdcd994c /src/core/gameinterface.h | |
parent | 825d5a44bd312772c53fdaa8924e4009cfb320a3 (diff) |
renamed Entity.base_* to Entity.core_*
fixed camera::mode::Overview
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r-- | src/core/gameinterface.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index 2e61ffb..b7df479 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -7,6 +7,8 @@ #ifndef __INCLUDED_CORE_GAMEINTERFACE_H__ #define __INCLUDED_CORE_GAMEINTERFACE_H__ +#include "core/player.h" + namespace core { @@ -26,12 +28,15 @@ public: /// shutdown the game virtual void shutdown() = 0; - + /// run one frame of the game /** @param sec time since the previous frame, in seconds */ virtual void frame(float seconds) = 0; + /// a player joins the game + virtual void event_join(Player *player) = 0; + /// a pointer to the current game instance static GameInterface * instance(); |