#pragma once
#include "Entity.h"
#include "PeLightTail.h"
//·ç¶Ü£¨Å×ÉäÎï£©
class CS_AmWindShield :
    public ActionEntity
{
public:
    CS_AmWindShield(std::shared_ptr<Entity> parent, bool bGiant = false);
    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;
    void AttackEffectObject(std::weak_ptr<Entity> target, float centerX, float centerY, int realDamage) override;
    std::weak_ptr<PeLightTail> lightTail;
    float dx = 0;
    float dy = 0;
    bool bGiant = false;
    bool explode = false;
};

