Danbias/Code/GameLogic/IGame.h

32 lines
437 B
C
Raw Normal View History

2013-11-20 16:01:39 +01:00
// Game Logic interface
2013-11-20 15:47:11 +01:00
#ifndef IGAME_H
#define IGAME_H
2013-11-25 12:33:27 +01:00
#if defined GAME_DLL_EXPORT
2013-11-25 12:36:25 +01:00
#define GAME_DLL_USAGE __declspec(dllexport)
2013-11-20 15:47:11 +01:00
#else
2013-11-25 12:36:25 +01:00
#define GAME_DLL_USAGE __declspec(dllimport)
2013-11-20 15:47:11 +01:00
#endif
namespace GameLogic
{
class Game;
2013-11-25 12:36:25 +01:00
class GAME_DLL_USAGE IGame
2013-11-20 15:47:11 +01:00
{
private:
Game* gameModule;
public:
IGame();
~IGame();
void Init();
void StartGame();
void Update();
2013-11-21 12:05:39 +01:00
void Render();
2013-11-25 11:49:40 +01:00
Game* getGameModule();
2013-11-20 15:47:11 +01:00
private:
};
}
#endif