Use GameScene to control render

This commit is contained in:
2025-12-06 18:39:40 +08:00
parent 995c01bd8c
commit 32eb465f39
9 changed files with 148 additions and 44 deletions

View File

@@ -1,10 +1,5 @@
#pragma once
namespace ui {
// 获取棋盘渲染区域信息(用于坐标转换)
struct BoardArea {
int x, y; // 左上角像素坐标
int cellSize; // 每格像素大小
int rows, cols; // 行列数
};
}