📄 playership.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 + -