feat: 几个新楼层

This commit is contained in:
AncTe committed 2024-09-27 22:04:47 +08:00
1 parent ac8a61558e
commit c7f7cf280b
15 files changed
+373 -303

No files matched your search

+4
View File
@@ -514,7 +514,10 @@ export function init() {
time: number = 500,
callback?: () => void
) {
console.log(heroMover.moving);
if (heroMover.moving) return;
const sx = core.getHeroLoc('x');
const sy = core.getHeroLoc('y');
adapters.viewport?.all('mutateTo', ex, ey);
@@ -539,6 +542,7 @@ export function init() {
);
})
);
console.log(ex, ey);
if (!locked) core.unlockControl();
core.setHeroLoc('x', ex);