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

📄 flytortoisedemon.h

📁 过程的c++编译器 里面有超级玛丽的源代码 还有一个 管理系统的源代码
💻 H
字号:
#ifndef _FLYTORTOISEDEMON_H_FILE_INCLUDED_

#define _FLYTORTOISEDEMON_H_FILE_INCLUDED_

#include "Object.h"

class CFlyTortoiseDemon:public CObject
{
public:
	CFlyTortoiseDemon(CGame * Game,int x, int y);
	virtual const int * GetImage(bool * HInv,bool * VInv);
	virtual void Clock();
	virtual void Attack(CObject * Other,int Mode);
	virtual void Bump(CObject * Other,int Mode,bool Volun);
private:
	int m_Action;//当前的动作状态,取值0~1
	int m_ActionTimeCount;//并非每个时钟周期都改变动作,而是要等该数器达到一定值时才改变。
	bool m_ToRight;//当前面向哪方。true:右 false:左
};

#endif

⌨️ 快捷键说明

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