9 Star 14 Fork 12

zapline/kxlol_new

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MagiciteEffect.h 586 Bytes
一键复制 编辑 原始数据 按行查看 历史
kingwl 提交于 10年前 . 更改CD保存方式
#ifndef __MAGICITE_EFFECT__
#define __MAGICITE_EFFECT__
#include "cocos2d.h"
class MagiciteGameObject;
class MagiciteEffect : public cocos2d::Ref
{
public:
MagiciteEffect() :_coolDown(0.0f){};
enum Type : int
{
T_Unkwon,
}EffectType;
virtual void positive(MagiciteGameObject* obj)
{
}
virtual void negative()
{
}
float getCD() const
{
return _coolDown;
}
protected:
void setCd(float cd)
{
_coolDown = cd;
}
float _coolDown;
};
#endif //__MAGICITE_EFFECT__
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zapline/kxlol_new.git
git@gitee.com:zapline/kxlol_new.git
zapline
kxlol_new
kxlol_new
master

搜索帮助

371d5123 14472233 46e8bd33 14472233