added level and player

This commit is contained in:
Erik Persson 2013-11-19 11:07:14 +01:00
parent 33f9a86945
commit ea0f3f05b4
6 changed files with 73 additions and 0 deletions

View File

@ -10,3 +10,8 @@ Game::Game(void)
Game::~Game(void) Game::~Game(void)
{ {
} }
void Game::Init()
{
}

View File

@ -1,6 +1,8 @@
#ifndef GAME_H #ifndef GAME_H
#define GAME_H #define GAME_H
#include "Level.h"
#include "Player.h"
namespace GameLogic namespace GameLogic
{ {
@ -11,7 +13,11 @@ namespace GameLogic
Game(void); Game(void);
~Game(void); ~Game(void);
void Init();
private: private:
Level *level;
Player *player;
}; };
} }

12
Code/GameLogic/Level.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "Level.h"
using namespace GameLogic;
Level::Level(void)
{
}
Level::~Level(void)
{
}

19
Code/GameLogic/Level.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef LEVEL_H
#define LEVEL_H
namespace GameLogic
{
class Level
{
public:
Level(void);
~Level(void);
private:
};
}
#endif

12
Code/GameLogic/Player.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "Player.h"
using namespace GameLogic;
Player::Player(void)
{
}
Player::~Player(void)
{
}

19
Code/GameLogic/Player.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef PLAYER_H
#define PLAYER_H
namespace GameLogic
{
class Player
{
public:
Player(void);
~Player(void);
private:
};
}
#endif