Files
mir_server/server/LogicServer/entity/MovingNpc.h

23 lines
526 B
C
Raw Normal View History

2025-01-09 17:45:40 +08:00

#pragma once
/***************************************************************/
/*
/* 移动的NPC从NPC继承具有移动功能
/*
/***************************************************************/
class CMovingNPC:
public CNpc
{
public:
typedef CNpc Inherited;
//初始化
bool Init(void * data, size_t size){if( Inherited::Init(data,size) ==false ) return false; return true;}
//删除的一些内存消耗操作
inline void Destroy(){ Inherited::Destroy(); } //销毁一个实体
};