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

📄 box.h

📁 FC上的超级玛丽C++移植版
💻 H
字号:
/***************************************************************************                box.h  -  headers for the corresponding cpp file                             -------------------    copyright            : (C) 2003 by Artur Hallmann, (C) 2003 by FluXy    email                : mail@arturh.com	website				 : http://www.arturh.com ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/ #ifndef __BOX_H__#define __BOX_H__#include "include/globals.h"class cGoldBox : public cActiveSprite{public:	cGoldBox(float x, float y);	virtual ~cGoldBox(void);	virtual cSprite* Clone( );		virtual void PlayerCollision(int direction);	virtual void Update(void);		int counter;	SDL_Surface* image2;	cBouncingGoldPiece* bgp;};class cBonusBox : public cActiveSprite{public:	cBonusBox(float x, float y);	virtual ~cBonusBox(void);	virtual cSprite* Clone( );	virtual void PlayerCollision(int direction);	virtual void Update(void);	int counter;	SDL_Surface* images[5];	cPowerUp* powerup;};class cSpinBox : public cActiveSprite{public:	cSpinBox(float x, float y);	virtual ~cSpinBox(void);	virtual cSprite* Clone( );	virtual void PlayerCollision(int direction);	virtual void Update(void);	int counter;	SDL_Surface* images[4];	bool spin;};#endif

⌨️ 快捷键说明

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