mirror of
https://github.com/motajs/template.git
synced 2026-11-13 23:04:32 +08:00
feat(02-03): wire hero pathfinding movement
- Bind the hero predicate and event layer into the L2 finder - Execute translated paths through the hero mover and export the L3 entry
This commit is contained in:
1 parent
68a150882c
commit
2759df531e
7 files changed
+300
-3
No files matched your search
@@ -184,7 +184,8 @@ export class HeroMover<T extends IHeroLocation>
|
||||
currLoc: handler.currLoc,
|
||||
nextLoc: handler.nextLoc,
|
||||
direction: handler.direction,
|
||||
floorId: handler.floorId
|
||||
floorId: handler.floorId,
|
||||
state: handler.state
|
||||
};
|
||||
const predicate = this.topImpl.predicate();
|
||||
const canPass = predicate.canPass(passHandler);
|
||||
|
||||
Reference in new issue
Block a user