eventheadcount.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 46 行

H
46
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EventHeadCount.h// Written by  : Reiot// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EVENT_HEAD_COUNT_H__#define __EVENT_HEAD_COUNT_H__#include "Event.h"#include "Zone.h"#include <iostream>//////////////////////////////////////////////////////////////////////////////// class EventHeadCount;//////////////////////////////////////////////////////////////////////////////class EventHeadCount : public Event {public:	EventHeadCount(GamePlayer* pGamePlayer) throw();	~EventHeadCount() throw();			public:	virtual EventClass getEventClass() const throw() { return EVENT_CLASS_HEAD_COUNT; }	virtual void activate() throw(Error);	virtual string toString() const throw();public:	void	cutHead()	{		m_Count++;	}	virtual bool isTemporary() const throw() { return false; }	virtual bool isPermanent() const throw() { return true; }private:	Level_t	m_LastLevel;	uint	m_Count;};#endif

⌨️ 快捷键说明

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