diff options
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 14 | 
1 files changed, 6 insertions, 8 deletions
| diff --git a/src/core/core.h b/src/core/core.h index 09c7209..745fd86 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -7,20 +7,18 @@  #ifndef __INCLUDED_CORE_H__  #define __INCLUDED_CORE_H__ +#include "core/gameinterface.h" +#include "core/applicationinterface.h" +  /// core contains the basic functionality of the engine  namespace core  { -	/// initialize the core -	void init(); - -	/// shutdown the core -	void shutdown(); +	inline GameInterface *game() { return GameInterface::instance(); } -	/// run one frame -	void frame(float sec); +	inline ApplicationInterface *application() { return ApplicationInterface::instance(); } +	  }; -#include "core/game.h"  #endif // __INCLUDED_CORE_H__ | 
