Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch

This commit is contained in:
Linda Andersson 2013-11-20 15:47:31 +01:00
commit 28da371b80
10 changed files with 100 additions and 37 deletions

View File

@ -0,0 +1,11 @@
#include "DynamicObject.h"
DynamicObject::DynamicObject(void)
{
}
DynamicObject::~DynamicObject(void)
{
}

View File

@ -0,0 +1,20 @@
#ifndef DYNAMICOBJECT_H
#define DYNAMICOBJECT_H
#include "Object.h"
namespace GameLogic
{
class DynamicObject : public Object
{
public:
DynamicObject(void);
~DynamicObject(void);
};
}
#endif

View File

@ -3,6 +3,7 @@ using namespace GameLogic;
Game::Game(void) Game::Game(void)
{ {
} }
@ -21,4 +22,4 @@ void Game::StartGame()
void Game::Update() void Game::Update()
{ {
} }

View File

@ -2,6 +2,7 @@
#define PLAYER_H #define PLAYER_H
#include "Object.h" #include "Object.h"
#include "Weapon.h"
namespace GameLogic namespace GameLogic
{ {
@ -19,8 +20,8 @@ namespace GameLogic
void Shoot(); void Shoot();
private: private:
//Life int life;
//weapon Weapon *weapon;
}; };
} }

View File

@ -0,0 +1,11 @@
#include "StaticObject.h"
StaticObject::StaticObject(void)
{
}
StaticObject::~StaticObject(void)
{
}

View File

@ -0,0 +1,20 @@
#ifndef STATICOBJECT_H
#define STATICOBJECT_H
#include "Object.h"
namespace GameLogic
{
class StaticObject : public Object
{
public:
StaticObject(void);
~StaticObject(void);
};
}
#endif

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

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

21
Code/GameLogic/Weapon.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef WEAPON_H
#define WEAPON_H
#include "Object.h"
namespace GameLogic
{
class Weapon : public Object
{
public:
Weapon(void);
~Weapon(void);
private:
};
}
#endif

View File

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

View File

@ -1,22 +0,0 @@
#ifndef WORLDOBJECT_H
#define WORLDOBJECT_H
#include "Object.h"
namespace GameLogic
{
class WorldObject : public Object
{
public:
WorldObject(void);
~WorldObject(void);
private:
};
}
#endif