#pragma once
#include "Entity.h"
#include "EntityStateGravity.h"
#define CS_FISHHOOK_CREATENAME L"CS_fishhook"
//Óã¹³
class CS_FishHook :
    public Entity
{
public:
    CS_FishHook();
    void Init(std::weak_ptr<Entity> self) override;
    void Step() override;
    void SetState(int stateID, int lr) override;
    void SetState(std::wstring stateName, int lr) override;
    void Move();
    //¶¯»­
    int stateID = 0;
    bool setWaterSplash = false;
    float max_move = 0x2ff / ts;
    float move = 0xc0 / ts;
    //×´Ì¬Ä£¿é
    EntityStateGravity stateGravity;
};

std::shared_ptr<Entity> CreateCS_FishHook();