feat(event): complete phase one event system

This commit is contained in:
AncTe committed 2026-09-09 12:01:21 +08:00
1 parent b9213ddf22
commit a297311ea6
51 files changed
+3261 -1114

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@ import {
} from './types';
import {
IDataCommon,
ILocationIndexer,
ITileStore,
MapLocIndexer,
SaveCompression
@@ -36,7 +37,7 @@ export class GameMap extends Hookable<IGameMapHooks> implements IGameMap {
private layerHookMap: Map<IMapLayer, IMapLayerHookController> = new Map();
/** 坐标索引器 */
readonly indexer = new MapLocIndexer();
readonly indexer: ILocationIndexer = new MapLocIndexer();
active: boolean = false;
eventLayer: IMapLayer | null = null;