⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gameblock.h

📁 魔域源代码需要的可以学习一下真么这么麻烦啊
💻 H
字号:
// GameBlock.h: interface for the CGameBlock class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GAMEBLOCK_H__B39AA177_958B_4948_A75C_EC068FEB0968__INCLUDED_)
#define AFX_GAMEBLOCK_H__B39AA177_958B_4948_A75C_EC068FEB0968__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "MultiObjSet.h"
//#include "RoleManager.h"
#include "Myheap.h"
#include "I_Role.h"

typedef	IMultiObjSet<IMapThing>		IThingSet;
typedef	CMultiObjSet<IMapThing>		CThingSet;

class CGameBlock  
{
public:
	CGameBlock();
	virtual ~CGameBlock();
public:
	static CGameBlock*	CreateNew() { return new CGameBlock; }
	bool	Create();
	virtual ULONG	Release() { delete this; return 0; }

public: // interface
	IThingSet*	QuerySet()		{ return m_pSet; }

public: // dormancy
	bool		IsDormancy()		{ return m_bDormancy; }
	void		SetDormancy(bool b)	{ m_bDormancy = b; }

protected:
	IThingSet*		m_pSet;

protected:
	bool			m_bDormancy;

public:
//	MYHEAP_DECLARATION(s_heap)
};

#endif // !defined(AFX_GAMEBLOCK_H__B39AA177_958B_4948_A75C_EC068FEB0968__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -