📄 effectgatewaymonster.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectGateWayMonster.h// Written by : // Description : Doom俊 狼茄 规绢仿 窍碍 effect//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_GATEWAY_MONSTER__#define __EFFECT_GATEWAY_MONSTER__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectGateWayMonster//////////////////////////////////////////////////////////////////////////////class EffectGateWayMonster : public Effect {public: EffectGateWayMonster(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_GATEWAY_MONSTER; } 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: int getHPRecovery(void) const { return m_HPRecovery; } void setHPRecovery(int hp) { m_HPRecovery = hp; }private: int m_HPRecovery = 1;};#endif // __EFFECT_DOOM__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -