2013-11-19 09:52:36 +01:00
|
|
|
#ifndef GAME_H
|
|
|
|
#define GAME_H
|
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
#include "Level.h"
|
|
|
|
#include "Player.h"
|
2013-11-27 16:17:47 +01:00
|
|
|
#include "IGame.h"
|
2013-11-19 09:52:36 +01:00
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
2013-11-27 16:17:47 +01:00
|
|
|
|
|
|
|
|
2013-11-19 09:52:36 +01:00
|
|
|
class Game
|
|
|
|
{
|
|
|
|
public:
|
2013-11-20 15:47:11 +01:00
|
|
|
Game();
|
|
|
|
~Game();
|
2013-11-26 09:19:59 +01:00
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
void Init();
|
2013-11-19 18:35:35 +01:00
|
|
|
void StartGame();
|
2013-11-27 16:17:47 +01:00
|
|
|
void Update(keyInput keyPressed);
|
2013-11-21 12:05:39 +01:00
|
|
|
void Render();
|
2013-11-26 09:19:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
Level* level;
|
|
|
|
Player* player;
|
|
|
|
|
|
|
|
|
2013-11-19 09:52:36 +01:00
|
|
|
};
|
2013-11-20 16:01:39 +01:00
|
|
|
}
|
2013-11-19 09:52:36 +01:00
|
|
|
#endif
|