2013-12-16 09:45:12 +01:00
|
|
|
#include "C_Player.h"
|
|
|
|
#include "DllInterfaces/GFXAPI.h"
|
|
|
|
using namespace DanBias::Client;
|
|
|
|
|
|
|
|
C_Player::C_Player(void)
|
2014-02-10 14:00:14 +01:00
|
|
|
:C_DynamicObj()
|
2013-12-16 09:45:12 +01:00
|
|
|
{
|
|
|
|
|
2014-02-11 10:11:38 +01:00
|
|
|
}
|
2013-12-16 09:45:12 +01:00
|
|
|
|
|
|
|
C_Player::~C_Player(void)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-02-14 15:07:55 +01:00
|
|
|
bool C_Player::Init(ModelInitData modelInit)
|
2013-12-16 09:45:12 +01:00
|
|
|
{
|
2014-02-14 15:07:55 +01:00
|
|
|
return C_Object::Init(modelInit);
|
2013-12-16 09:45:12 +01:00
|
|
|
}
|
2014-02-14 15:07:55 +01:00
|
|
|
void C_Player::playAnimation(std::wstring animation, bool loop)
|
|
|
|
{
|
|
|
|
if(model)
|
|
|
|
Oyster::Graphics::API::PlayAnimation(model, L"movement", loop);
|
|
|
|
}
|