📄 eventheadcount.h
字号:
//////////////////////////////////////////////////////////////////////////////// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -