#pragma once
#include "Entity.h"
//³¬¼¶·Éµ¯£¨Å×ÉäÎï£©
class CS_QuoteSuperMissileBlade :
    public ActionEntity
{
public:
    CS_QuoteSuperMissileBlade(std::shared_ptr<Entity> parent);
    void Init(std::weak_ptr<Entity> self) override;
    void Step() override;
    void AttackEffectObject(std::weak_ptr<Entity> target, float centerX, float centerY, int realDamage) override;
    bool Hurt(std::weak_ptr<Entity> src, int getDamage, float angle, bool bTakedown, int elemType, float shockForce, float heavy, int* outRealDamage);
    void Destroy() override;
    void Collision() override;//Ö´ÐÐÅö×²
    void SetCbRect_Entity();
    void SetCbRect_Collision();
    void Explode();
    float tgt_x = 0, tgt_y = 0;
    int count2 = 0;
    int ani_no = 0;
};

std::weak_ptr<CS_QuoteSuperMissileBlade> SetCS_QuoteSuperMissileBlade(std::shared_ptr<Entity> parent, float x, float y);