#pragma once
#include "Entity.h"
#include "EntityStateSplash.h"
#define CS_FALLBLOCK_CREATENAME L"CS_fallblock"
//ÏÂÂäµÄ¾ÞÊ¯
class CS_FallBlock :
    public Entity
{
public:
    CS_FallBlock();
    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;
    EntityStateSplash stateSplash;
    bool bFallState = true;
    bool bAdjustPos = true;
    bool bStatic = false;
};

std::shared_ptr<Entity> CreateCS_FallBlock();