feat(渲染): 实现NPC和地图层的渲染优化

重构NPC渲染逻辑,将交互高亮同步移至Render方法
为NpcAnimation添加帧激活检查以避免无效纹理刷新
为GameMapLayer添加调试覆盖层画布,优化可行区域和移动区域渲染
更新测试场景地图路径和相机控制器设置
This commit is contained in:
2026-04-08 00:17:03 +08:00
parent 5af657c5c9
commit db0fd3a17e
7 changed files with 268 additions and 24 deletions

View File

@@ -42,6 +42,7 @@ public:
}
void Update(float deltaTime) override;
void Render() override;
private:
void EnsureInteractionHighlight();