effectdivineguidance.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 49 行
H
49 行
//////////////////////////////////////////////////////////////////////////////// Filename : EffectDivineGuidance.h// Written by : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_DIVINE_GUIDANCE__#define __EFFECT_DIVINE_GUIDANCE__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectDivineGuidance//////////////////////////////////////////////////////////////////////////////class EffectDivineGuidance : public Effect {public: EffectDivineGuidance(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_DIVINE_GUIDANCE; } 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: HP_t getPoint() const throw() { return m_Point; } void setPoint(HP_t Point) throw() { m_Point = Point; } Turn_t getTick() const throw() { return m_Tick; } void setTick(Turn_t Tick) throw() { m_Tick = Tick; } void setUserObjectID(ObjectID_t oid) throw() { m_UserObjectID = oid; } ObjectID_t getUserObjectID() const throw() { return m_UserObjectID; }private: HP_t m_Point; Turn_t m_Tick; ObjectID_t m_UserObjectID;};#endif // __EFFECT_DIVINE_GUIDANCE__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?