#pragma once
#include "EntityState.h"
#include "CS_QuoteSpurBlade.h"
#include "PeReadyBar.h"
extern const int CS_QuoteSTATENAME_SPUR;
//¼¼ÄÜ£ºÊ¹ÓÃÍ»ÆÆÎäÆ÷
class CS_QuoteSpur :
    public EntitySkillState
{
public:
    CS_QuoteSpur();
    const wchar_t* GetSaveName() override;
    const wchar_t* GetFuncName() override;
    const wchar_t* GetCheckFuncName() override;
    void SubStep() override;
    void ChangeStateMsg(int stateID) override;
    static bool ReadyBar_Leave(std::weak_ptr<Entity> e);
    static void ReadyBar_Destroy(std::weak_ptr<Entity> e);
    std::weak_ptr<PeReadyBar> energyBar;
    int energy_count = 0;
    int energy_count_max = 300;
    float fcounter = 0;
    int spur_charge_sound = 0;
    bool bCharge = false;
    bool openLevel5 = false;
    std::list<std::weak_ptr<CS_QuoteSpurBlade>> amList;
};

