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

📄 maplayer.h

📁 网络游戏魔域源代码 测试可以完整变异
💻 H
字号:
//----------------------------------------------------//
// MapLayer.h
//----------------------------------------------------//

#ifndef _MAPLAYER_H
#define _MAPLAYER_H


//------------------------------------------------------
#include "BaseFunc.h"
//------------------------------------------------------
class CMapLayer
{
public:
	CMapLayer(){m_nMoveRateX = 100; m_nMoveRateY = 100;}
	virtual ~CMapLayer(){;}
public:
	// define layer type ...
	enum{LAYER_NONE = 0, LAYER_TERRAIN,LAYER_FLOOR, LAYER_INTERACTIVE, LAYER_SCENE, LAYER_SKY, LAYER_SURFACE};
public:
	virtual void Show(CMyPos posShow);
	virtual void Process(void* pInfo);
	virtual int  GetType();
	
public:
	void	SetMoveRateX(int nMoveRateX){m_nMoveRateX = nMoveRateX;}
	void	SetMoveRateY(int nMoveRateY){m_nMoveRateY = nMoveRateY;}
	int		GetMoveRateX(){return m_nMoveRateX;}
	int		GetMoveRateY(){return m_nMoveRateY;}


private:
	int	m_nMoveRateX;
	int	m_nMoveRateY;
};
//------------------------------------------------------

#endif

⌨️ 快捷键说明

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