?? powerup.h
字號:
/*************************************************************************** powerup.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 __POWERUP_H__#define __POWERUP_H__#include "include/globals.h"/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cPowerUp : public cActiveSprite
{public: cPowerUp(float x, float y); virtual ~cPowerUp(void); virtual cSprite* Clone( ); virtual void PlayerCollision(int direction); virtual void Update(void); int counter;};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cMushroom : public cPowerUp
{public: cMushroom(float x, float y); virtual ~cMushroom(void); virtual cSprite* Clone( ); virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cFirePlant : public cPowerUp
{public: cFirePlant(float x, float y); virtual ~cFirePlant(void); virtual cSprite* Clone( ); virtual void Update(void);
SDL_Surface* images[2];};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -