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

24 lines
398 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)
2014-02-19 13:38:36 +01:00
Oyster::Graphics::API::PlayAnimation(model, animation, loop);
}