effectwilloflife.h

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

H
41
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectWillOfLife.h// Written by  : // Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_WILL_OF_LIFE__#define __EFFECT_WILL_OF_LIFE__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectWillOfLife//////////////////////////////////////////////////////////////////////////////class EffectWillOfLife : public Effect {public:	EffectWillOfLife(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_WILL_OF_LIFE; }	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 getBonus() throw() { return m_Bonus;}	void setBonus(int Bonus) throw(Error) { m_Bonus = Bonus;}private:	int m_Bonus;};#endif // __EFFECT_WILL_OF_LIFE__

⌨️ 快捷键说明

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