matrix.h

来自「PC网络游戏的编程」· C头文件 代码 · 共 28 行

H
28
字号
// Matrix.h: interface for the CMatrix class.

#ifndef __CMATRIX_H__
#define __CMATRIX_H__

#include <list>
using namespace std;

const long OTYPE_ITEM	= 1;
const long OTYPE_HUMAN  = 2;

class CObject;
class CMatrix  
{
public:
	int GetObjectCount();
	CObject * FindObject(long uid);
	void DestroyObject(CObject *ob);
	CObject * CreateObject(long type);
	CMatrix();
	virtual ~CMatrix();

private:
	list<CObject*> m_obList;
	long m_seq;
};

#endif 

⌨️ 快捷键说明

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