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

24 lines
400 B
C++

#include "C_Player.h"
#include "DllInterfaces/GFXAPI.h"
using namespace DanBias::Client;
C_Player::C_Player(void)
:C_DynamicObj()
{
}
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);
}