mouse.h

来自「老鼠和滚球游戏」· C头文件 代码 · 共 28 行

H
28
字号
// Mouse.h: interface for the CMouse class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MOUSE_H__C2779661_D1E9_11D5_B2C4_5254AB2BD63E__INCLUDED_)
#define AFX_MOUSE_H__C2779661_D1E9_11D5_B2C4_5254AB2BD63E__INCLUDED_

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

class CMouse  
{
public:
	CMouse();
	virtual ~CMouse();
	CPoint point;//位置
	CBitmap bitmapa;//向后图像
	CBitmap bitmapb;//向前图像
	CBitmap shota;//向后子弹
	CBitmap shotb;//向前子弹
	int score;//分数
	short direction;//方向
	short lifes;//生命
};

#endif // !defined(AFX_MOUSE_H__C2779661_D1E9_11D5_B2C4_5254AB2BD63E__INCLUDED_)

⌨️ 快捷键说明

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