📄 gameblock.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 + -