mirror of
https://github.com/motajs/template.git
synced 2026-11-01 06:04:30 +08:00
refactor: 怪物系统与勇士属性系统联动
This commit is contained in:
1 parent
92ff489811
commit
eaa725553b
23 files changed
+473
-381
No files matched your search
@@ -16,7 +16,7 @@ export async function createMainExtension() {
|
||||
mainMapRenderer.useAsset(materials.trackedAsset);
|
||||
const layer = state.layer.getLayerByAlias('event');
|
||||
if (layer) {
|
||||
mainMapExtension.addHero(state.hero, layer);
|
||||
mainMapExtension.addHero(state.hero.mover, layer);
|
||||
mainMapExtension.addDoor(layer);
|
||||
}
|
||||
mainMapExtension.addText();
|
||||
|
||||
Reference in new issue
Block a user