#pragma once
#include "Entity.h"
#define CS_AMDEMONFLOWERSEED_CREATENAME L"CS_am_demonflower_seed"
class CS_AmDemonFlowerSeed :
    public Entity
{
public:
    CS_AmDemonFlowerSeed(std::shared_ptr<Entity> parent);
    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;
    int ani_wait = 0;
    int count1 = 0;
    int existTime = 480;
};

std::shared_ptr<Entity> CreateCS_AmDemonFlowerSeed();
void SetCS_AmDemonFlowerSeed(std::shared_ptr<Entity> parent, float x, float y, float vx, float vy);