Danbias/Code/Game/GameClient/GameClientState/C_obj/C_Player.cpp

24 lines
400 B
C++
Raw Normal View History

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