2013-11-19 09:52:36 +01:00
|
|
|
#include "Game.h"
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
|
|
|
Game::Game(void)
|
|
|
|
{
|
2013-11-21 12:05:39 +01:00
|
|
|
|
2013-11-19 09:52:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Game::~Game(void)
|
|
|
|
{
|
2013-11-21 12:05:39 +01:00
|
|
|
SAFE_DELETE(player);
|
2013-11-19 09:52:36 +01:00
|
|
|
}
|
2013-11-19 11:07:14 +01:00
|
|
|
|
|
|
|
void Game::Init()
|
|
|
|
{
|
2013-11-21 12:05:39 +01:00
|
|
|
player = new Player();
|
2013-11-19 11:07:14 +01:00
|
|
|
}
|
2013-11-20 15:47:11 +01:00
|
|
|
void Game::StartGame()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
void Game::Update()
|
|
|
|
{
|
2013-11-21 12:05:39 +01:00
|
|
|
player->Update();
|
2013-11-20 15:47:31 +01:00
|
|
|
}
|
2013-11-21 12:05:39 +01:00
|
|
|
void Game::Render()
|
|
|
|
{
|
|
|
|
player->Render();
|
|
|
|
}
|