www.pudn.com > Game_11.rar > Role.h
// Role.h: interface for the CRole class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(ROLE_H_DEFINED)
#define ROLE_H_DEFINED
#include "Unit.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRole :public CUnit
{
public:
CRole(LPDIRECT3DDEVICE9 pDevice,char *strMeshFile,CTerrain *pTerrain);
virtual ~CRole();
protected:
int Level;
long Experiece;
float HP;
float MP;
};
#endif // !defined(ROLE_H_DEFINED)