mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-30 01:31:29 +08:00
feat(control) 小地图
This commit is contained in:
1 parent
f86e5f3a79
commit
e2bc630d6d
8 files changed
+339
-24
No files matched your search
@@ -9,7 +9,7 @@ export let selectedUnits = [];
|
||||
|
||||
export function setActiveUnit(unit) {
|
||||
activeUnit = unit;
|
||||
selectedUnits = unit ? [unit] : [];
|
||||
// 不再重置selectedUnits数组,这样可以同时选中多个单位
|
||||
}
|
||||
|
||||
export function addToSelection(unit) {
|
||||
|
||||
Reference in new issue
Block a user