eventmorph.h

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

H
37
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EventMorph.h// Written by  : Reiot// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EVENTMORPH_H__#define __EVENTMORPH_H__#include "Event.h"#include "Creature.h"//////////////////////////////////////////////////////////////////////////////// class EventMorph//////////////////////////////////////////////////////////////////////////////class EventMorph : public Event {public:	EventMorph(GamePlayer* pGamePlayer) throw();	~EventMorph() throw();			public:	virtual EventClass getEventClass() const throw() { return EVENT_CLASS_MORPH; }	virtual void activate() throw(Error);	virtual string toString() const throw();public:	Creature* getCreature() const throw() { return m_pTargetCreature; }	void setCreature(Creature* pCreature) throw() { m_pTargetCreature = pCreature; }private:	Creature* m_pTargetCreature;};#endif

⌨️ 快捷键说明

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