2013-11-19 11:07:14 +01:00
|
|
|
#include "Player.h"
|
2013-11-25 11:03:06 +01:00
|
|
|
#include "OysterMath.h"
|
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
|
|
|
|
using namespace GameLogic;
|
2013-11-25 11:03:06 +01:00
|
|
|
using namespace Oyster::Physics;
|
|
|
|
using namespace Utility::DynamicMemory;
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
|
|
|
|
Player::Player(void)
|
2013-11-21 12:05:39 +01:00
|
|
|
:Object()
|
2013-11-19 11:07:14 +01:00
|
|
|
{
|
2013-11-26 11:30:49 +01:00
|
|
|
life = 100;
|
2013-11-25 11:03:06 +01:00
|
|
|
|
2013-11-26 11:30:49 +01:00
|
|
|
rigidBody = API::Instance().CreateSimpleRigidBody();
|
2013-11-26 09:16:51 +01:00
|
|
|
API::Instance().AddObject(rigidBody);
|
2013-11-19 11:07:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Player::~Player(void)
|
|
|
|
{
|
2013-11-21 12:05:39 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
void Player::Update()
|
|
|
|
{
|
2013-11-26 11:30:49 +01:00
|
|
|
|
2013-11-21 12:05:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Player::Move()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
void Player::Shoot()
|
|
|
|
{
|
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
}
|