推
This commit is contained in:
@@ -9,12 +9,14 @@ class GameMapLayer : public Actor
|
||||
private:
|
||||
// 可行区域信息
|
||||
std::vector<SDL_Rect> FeasibleAreaInfoList;
|
||||
// 移动区域信息
|
||||
std::vector<SDL_Rect> MoveAreaInfoList;
|
||||
|
||||
public:
|
||||
// 重载Render以实现绘制可行区域
|
||||
// 重载OnRender以实现绘制可行区域
|
||||
void Render() override;
|
||||
// 添加调试可行区域信息
|
||||
void AddDebugFeasibleAreaInfo(Vec2 pos, VecSize size);
|
||||
void AddDebugFeasibleAreaInfo(Vec2 pos, VecSize size, int Type);
|
||||
|
||||
public:
|
||||
void AddObject(RefPtr<Actor> obj); // 添加对象
|
||||
|
||||
Reference in New Issue
Block a user