effectghostblade.h

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

H
41
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectGhostBlade.h// Written by  : // Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_GHOST_BLADE__#define __EFFECT_GHOST_BLADE__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectGhostBlade//////////////////////////////////////////////////////////////////////////////class EffectGhostBlade : public Effect {public:	EffectGhostBlade(Creature* pCreature) throw(Error);public:	void affect() throw(Error) {}	void affect(Creature* pCreature) throw(Error);	void unaffect(Creature* pCreature) throw(Error);	void unaffect() throw(Error);     EffectClass getEffectClass() const throw() { return EFFECT_CLASS_GHOST_BLADE; }	string toString() const throw();public:	int getToHitBonus() throw() { return m_ToHitBonus;}	void setToHitBonus(ToHit_t ToHitBonus) throw(Error) { m_ToHitBonus = ToHitBonus;}private :	ToHit_t m_ToHitBonus;};#endif // __EFFECT_GHOST_BLADE__

⌨️ 快捷键说明

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