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

📄 goomba.h

📁 FC上的超级玛丽C++移植版
💻 H
字号:
/***************************************************************************                goomba.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 __GOOMBA_H__#define __GOOMBA_H__#include "include/globals.h"/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cGoomba : public cEnemy 
{/*	Goomba * Also Known As: "Shoe stain", "Brown lump with eyes", "The goomb-man" * Looks like: A weird brown trapezoid (or circle) with eyes and feet * Associated with: His cousins, which wave wings, are very small, are trapped in bubbles, etc. * Kill it by: Just looking at a goomba is known to kill it. Otherwise, jump, fireball,  * tail, cape, hit from under, punch, kick, ground pound, watermelon seed, etc. * Avoid it by: Uhhh, jump. * Secret attacks: Goomba's lull you into a false sense of security so that you will * forget to do anything and just stupidly run into them. Don't fall for it! Take them very seriously! Pay attention! */public:	cGoomba(float x, float y);	virtual ~cGoomba();	virtual cSprite* Clone( );	virtual void Die(void);	virtual void DieStep(void);	virtual void Update(void);	virtual void PlayerCollision(int direction);	SDL_Surface *images[3];};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */#endif

⌨️ 快捷键说明

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