effectrelic.h

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

H
45
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectRelic.h// Written by  : // Description : Doom俊 狼茄 规绢仿 窍碍 effect//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_RELIC__#define __EFFECT_RELIC__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectRelic//////////////////////////////////////////////////////////////////////////////class EffectRelic : public Effect {public:	EffectRelic(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_RELIC; }	void affect() throw(Error) {}	void affect(Creature* pCreature) throw(Error);	void unaffect(Creature* pCreature) throw(Error);	void unaffect() throw(Error); 	string toString() const throw();public:	HP_t getPoint() const throw() { return m_Point; }	void setPoint(HP_t Point) throw() { m_Point = Point; }	Turn_t getTick() const throw() { return m_Tick; }	void   setTick(Turn_t Tick) throw() { m_Tick = Tick; }private:	HP_t   m_Point;  // 雀汗 俊呈瘤樊	Turn_t m_Tick;};#endif // __EFFECT_DOOM__

⌨️ 快捷键说明

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