Danbias/Code/GameLogic/IGame.h

32 lines
422 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-20 15:47:11 +01:00
#define DLL_USAGE __declspec(dllexport)
#else
#define DLL_USAGE __declspec(dllimport)
#endif
namespace GameLogic
{
class Game;
class DLL_USAGE IGame
{
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