effectmiracleshield.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 45 行
H
45 行
//////////////////////////////////////////////////////////////////////////////// Filename : EffectMiracleShield.h// Written by : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_MIRACLE_SHIELD__#define __EFFECT_MIRACLE_SHIELD__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectMiracleShield//////////////////////////////////////////////////////////////////////////////class EffectMiracleShield : public Effect {public: EffectMiracleShield(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_MIRACLE_SHIELD; } string toString() const throw();public: int getDefenseBonus() throw() { return m_DefenseBonus;} void setDefenseBonus(Defense_t DefenseBonus) throw(Error) { m_DefenseBonus = DefenseBonus;} int getProtectionBonus() throw() { return m_ProtectionBonus;} void setProtectionBonus(Protection_t ProtectionBonus) throw(Error) { m_ProtectionBonus = ProtectionBonus;}private : Defense_t m_DefenseBonus; Protection_t m_ProtectionBonus;};#endif // __EFFECT_MIRACLE_SHIELD__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?