#pragma once

#include "EngineFrame/Actor/Actor.h"
#include "EngineFrame/Component/Sprite.h"

class BaseObject;
class GameMapLayer : public Actor
{
private:
    //  可行区域信息
    std::vector<SDL_Rect> FeasibleAreaInfoList;

public:
    GameMapLayer(/* args */);
    ~GameMapLayer();

    // 重载Render以实现绘制可行区域
    void Render() override;
    // 添加调试可行区域信息
    void AddDebugFeasibleAreaInfo(Vec2 pos, VecSize size);

public:
    void AddObject(RefPtr<Actor> obj); // 添加对象
};
