Files
DNF_DEV/source_game/Actor/Object/MonsterObject.cpp

11 lines
344 B
C++

#include "MonsterObject.h"
#include "Global/Global_Game.h"
void MonsterObject::Construction(int MonsterID)
{
this->Id = MonsterID;
// 创建动画管理器(一定要先创建装备管理器再创建动画管理器 因为需要读取身上的装备)
_AnimationManager = new Mon_Animation();
_AnimationManager->Init(this);
}