Files
aixianling 5c9f1dae4a init
2025-01-09 17:45:40 +08:00

23 lines
526 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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(); } //销毁一个实体
};