2014-01-14 10:28:12 +01:00
|
|
|
#include "Game.h"
|
|
|
|
#include "Player.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
|
|
|
Game::PlayerData::PlayerData()
|
|
|
|
{
|
2014-01-15 11:03:25 +01:00
|
|
|
|
2014-01-14 10:28:12 +01:00
|
|
|
}
|
2014-01-15 11:03:25 +01:00
|
|
|
Game::PlayerData::PlayerData(int playerID,int teamID)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
Game::PlayerData::~PlayerData()
|
|
|
|
{
|
2014-01-14 10:28:12 +01:00
|
|
|
|
2014-01-15 11:03:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Game::PlayerData::Move(const PLAYER_MOVEMENT &movement)
|
|
|
|
{
|
|
|
|
this->player->Move(movement);
|
|
|
|
}
|
|
|
|
void Game::PlayerData::UseWeapon(int playerID, const WEAPON_FIRE &Usage)
|
2014-01-14 10:28:12 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2014-01-15 11:03:25 +01:00
|
|
|
Oyster::Math::Float3 Game::PlayerData::GetPosition()
|
|
|
|
{
|
|
|
|
return this->player->GetPosition();
|
|
|
|
}
|
|
|
|
Oyster::Math::Float4x4 Game::PlayerData::GetOrientation()
|
|
|
|
{
|
|
|
|
return this->player->GetOrientation();
|
|
|
|
}
|
|
|
|
PLAYER_STATE Game::PlayerData::GetState() const
|
|
|
|
{
|
|
|
|
return this->player->GetState();
|
|
|
|
}
|
|
|
|
int Game::PlayerData::GetID() const
|
|
|
|
{
|
|
|
|
return this->player->GetID();
|
|
|
|
}
|
|
|
|
int Game::PlayerData::GetTeamID() const
|
|
|
|
{
|
|
|
|
return this->player->GetTeamID();
|
|
|
|
}
|