📄 effectstormbloody.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectStormBloody.h// Written by : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_STORM_BLOODY__#define __EFFECT_STORM_BLOODY__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectStormBloody//////////////////////////////////////////////////////////////////////////////class EffectStormBloody : public Effect {public: EffectStormBloody(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_STORM_BLOODY; } 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: Level_t getLevel() const throw() { return m_Level; } void setLevel(Level_t Level) throw() { m_Level = Level; } HP_t getPoint() const throw() { return m_Point; } void setPoint(HP_t Point) throw() { m_Point = Point; } void setTick(Turn_t Tick) throw() { m_Tick = Tick; } Turn_t getTick() const throw() { return m_Tick; } void setUserObjectID(ObjectID_t oid) throw() { m_UserObjectID = oid; } ObjectID_t getUserObjectID() const throw() { return m_UserObjectID; }private: Level_t m_Level; HP_t m_Point; Turn_t m_Tick; ObjectID_t m_UserObjectID;};#endif // __EFFECT_STORM__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -