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

📄 playership.h

📁 一个类似坦克大战的小小游戏
💻 H
字号:

/**************************************************************************************
	Project  Name			: Pirates of the Caribbean
	Module Name				: Player Ship
	File Name				: PlayerShip.h: interface for the CPlayerShip class.
	Create					: 2007-7-17, by Vigame
	Update					: 2007-7-30, add move fuctions, by Vigame
	Copyright				: 
	Reference				: 
	Abstrct					: The warship of player
 **************************************************************************************/

#ifndef __H_PlayerShip__
#define __H_PlayerShip__

#pragma once
#include "basewarship.h"

class CPlayerShip : public CBaseWarship
{
public:
	CPlayerShip(void);
	virtual ~CPlayerShip(void);

	void Reborn();

	// Overload the move fuctions
	void MoveUp(CGameResource *&pResource);
	void MoveRight(CGameResource *&pResource);
	void MoveDown(CGameResource *&pResource);
	void MoveLeft(CGameResource *&pResource);

public:
	int m_nLevel;
	int m_nShipCount;
	DWORD m_timeOnReef;
};

#endif

⌨️ 快捷键说明

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