Danbias/Code/GameLogic/Player.h

34 lines
468 B
C
Raw Normal View History

2013-11-19 11:07:14 +01:00
#ifndef PLAYER_H
#define PLAYER_H
2013-11-19 18:35:35 +01:00
#include "Object.h"
#include "Weapon.h"
2013-11-19 18:35:35 +01:00
2013-11-25 11:03:06 +01:00
2013-11-19 11:07:14 +01:00
namespace GameLogic
{
2013-11-25 11:03:06 +01:00
//void ColisionEvent(unsigned int obj1, unsigned int obj2);
void DestructionEvent(unsigned int obj1, ::Utility::DynamicMemory::UniquePointer<Oyster::Physics::ICustomBody> obj2);
2013-11-19 18:35:35 +01:00
class Player : public Object
2013-11-19 11:07:14 +01:00
{
public:
Player(void);
~Player(void);
2013-11-19 18:35:35 +01:00
void Update();
2013-11-19 11:07:14 +01:00
2013-11-19 18:35:35 +01:00
void Move();
void Shoot();
2013-11-21 12:05:39 +01:00
2013-11-19 18:35:35 +01:00
private:
int life;
Weapon *weapon;
2013-11-25 11:03:06 +01:00
2013-11-19 11:07:14 +01:00
};
}
#endif