feat: initialize mini program map engine

This commit is contained in:
2026-03-19 15:58:48 +08:00
commit 03abe28d8c
49 changed files with 28584 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { type CameraState } from '../camera/camera'
import { type MapScene } from '../renderer/mapRenderer'
import { type TileStore } from '../tile/tileStore'
export interface LayerRenderContext {
ctx: any
camera: CameraState
scene: MapScene
pulseFrame: number
tileStore: TileStore
}
export interface MapLayer {
draw(context: LayerRenderContext): void
}