#pragma once
#include "Entity.h"
#include "CS_PeLightFade.h"
#define CS_ENEMY_FIRESPRITESMALL_CREATENAME L"CS_enemy_firesprite_small"
//»ð¾«ÁéºìÉ«£¨Ð¡£©
class CS_Enemy_FireSpriteSmall :
    public Entity
{
public:
    CS_Enemy_FireSpriteSmall();
    void Init(std::weak_ptr<Entity> self) override;
    void Step() override;
    void Attack(std::weak_ptr<Entity> dst, int* outDamage, float* outAngle, bool* outTakedown, int* outElemType, float* outShockForce, float* outHeavy) override;
    bool Hurt(std::weak_ptr<Entity> src, int getDamage, float angle, bool bTakedown, int elemType, float shockForce, float heavy, int* outRealDamage) override;
    void Destroy() override;
    void Feedback(std::weak_ptr<Entity> target) override;
    void SetDir(int dirNum);
    int SpeedGetDir();
    void SetBlue();
    float moveSpeed = 0;
    bool blue = false;
    std::weak_ptr<CS_PeLightFade> peLight;
    std::weak_ptr<CS_PeLightFade> peLightColor;
};
