effectdecreasehp.h

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

H
49
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectDecreaseHP.h// Written by  : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_DECREASE_HP__#define __EFFECT_DECREASE_HP__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectDecreaseHP//////////////////////////////////////////////////////////////////////////////class EffectDecreaseHP : public Effect {public:	EffectDecreaseHP(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_DECREASE_HP; }	void affect() throw(Error);	void affect(Creature* pCreature) throw(Error);	void affect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	void unaffect() throw(Error);	void unaffect(Creature* pCreature) throw(Error);	void unaffect(Item* pItem) throw(Error) {}	void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	string toString() const throw();public:	HP_t getPoint() const throw() { return m_Point; }	void setPoint(HP_t Point) throw() { m_Point = Point; }	void setUserObjectID(ObjectID_t oid) throw() { m_UserObjectID = oid; }	ObjectID_t getUserObjectID() const throw() { return m_UserObjectID; }private:	HP_t    m_Point;	ObjectID_t m_UserObjectID;};#endif // __EFFECT_DECREASE_HP__

⌨️ 快捷键说明

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