effectparalyze.h

来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 46 行

H
46
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectParalyze.h// Written by  : elca@ewestsoft.com// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_PARALYZE__#define __EFFECT_PARALYZE__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectParalyze//////////////////////////////////////////////////////////////////////////////class EffectParalyze : public Effect {public:	EffectParalyze(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_PARALYZE; }	void affect() throw(Error);	void affect(Creature* pCreature) throw(Error);	void unaffect() throw(Error);	void unaffect(Creature* pCreature) throw(Error);	string toString() const throw();public:	Level_t getLevel() const throw() { return m_Level; }	void setLevel(Level_t level) throw() { m_Level = level; }//	int getDefensePenalty(void) const throw() { return m_DefensePenalty; }//	void setDefensePenalty(int penalty) { m_DefensePenalty = penalty; }	private:	Level_t  m_Level;//	int     m_DefensePenalty;};#endif // __EFFECT_PARALYZE__

⌨️ 快捷键说明

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