#pragma once
#include "Entity.h"
#include "EntityStateGravity.h"
#include "EntityStateResist.h"
#include "EntityStateSplash.h"
#include "CS_Enemy_SoapFrontDmgRect.h"
#define CS_ENEMY_SOAPC_CREATENAME L"CS_enemy_soapc"
//µÐÈË£º·ÊÔíC
class CS_Enemy_SoapC :
    public Entity
{
public:
    CS_Enemy_SoapC();
    void Init(std::weak_ptr<Entity> self) override;
    void Step() override;
    void SetState(int stateID, int lr) 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;
    EntityStateGravity stateGravity;
    EntityStateResist stateResist;
    EntityStateSplash stateSplash;
    std::weak_ptr<CS_Enemy_SoapFrontDmgRect> atkZone;
};

std::shared_ptr<Entity> CreateCS_Enemy_SoapC();