mirror of
https://github.com/motajs/template.git
synced 2026-11-25 07:24:30 +08:00
refactor: 触发器
This commit is contained in:
1 parent
f4c77d152f
commit
1717400945
13 files changed
+502
-29
No files matched your search
@@ -173,7 +173,9 @@ export class MapLayer
|
||||
tile: num,
|
||||
raw,
|
||||
trigger,
|
||||
dynamics
|
||||
dynamics,
|
||||
locator: { x, y },
|
||||
block: raw
|
||||
};
|
||||
|
||||
return data;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { ITileLocator, logger } from '@motajs/common';
|
||||
import {
|
||||
getFaceMovement,
|
||||
IMoverController,
|
||||
ObjectMover,
|
||||
ObjectMoveStep,
|
||||
ObjectMoveType
|
||||
@@ -88,6 +89,10 @@ export class DynamicTileMover extends ObjectMover<IDynamicTile> {
|
||||
}
|
||||
return Promise.resolve(locator);
|
||||
}
|
||||
|
||||
protected onStepSettled(): Promise<void> {
|
||||
return Promise.resolve();
|
||||
}
|
||||
}
|
||||
|
||||
//#endregion
|
||||
Reference in new issue
Block a user