www.pudn.com > GameEngine_src.rar > CNpc.h
// CNpc.h: interface for the CNpc class.
//
//////////////////////////////////////////////////////////////////////
#ifndef CNpc_h
#define CNpc_h
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CAliveSprite.h"
#include "CES_CmdPool.h"
class CNpc : public CAliveSprite
{
public:
CNpc();
~CNpc();
void OnClick();
void LoadESFromFile( FILE *fp, int offset ) {m_CmdPool.LoadESFromFile( fp, offset );}
void LoadESFromMemory( char *data, int offset ) {m_CmdPool.LoadESFromMemory(data, offset); }
bool UpdateSprite();
void DrawSprite();
private:
CES_CmdPool m_CmdPool;
};
#endif