@woosh/meep-engine 2.165.4 → 2.165.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/editor/Editor.d.ts +65 -65
- package/editor/SelectionVisualizer.d.ts +19 -19
- package/editor/actions/concrete/ActionUpdateTexture.d.ts +11 -11
- package/editor/actions/concrete/ArrayCopyAction.d.ts +19 -19
- package/editor/actions/concrete/ComponentAddAction.d.ts +14 -14
- package/editor/actions/concrete/ComponentRemoveAction.d.ts +10 -10
- package/editor/actions/concrete/EntityCreateAction.d.ts +17 -17
- package/editor/actions/concrete/EntityRemoveAction.d.ts +10 -10
- package/editor/actions/concrete/ModifyPatchSampler2DAction.d.ts +46 -46
- package/editor/actions/concrete/ModifyPatchTextureArray2DAction.d.ts +37 -37
- package/editor/actions/concrete/PaintTerrainOverlayAction.d.ts +22 -22
- package/editor/actions/concrete/PatchTerrainHeightAction.d.ts +18 -18
- package/editor/actions/concrete/SelectionAddAction.d.ts +18 -18
- package/editor/actions/concrete/SelectionClearAction.d.ts +8 -8
- package/editor/actions/concrete/SelectionRemoveAction.d.ts +9 -9
- package/editor/actions/concrete/TransformModifyAction.d.ts +16 -16
- package/editor/actions/concrete/WriteGridValueAction.d.ts +14 -14
- package/editor/ecs/EditorEntity.d.ts +15 -15
- package/editor/ecs/EditorEntitySystem.d.ts +7 -7
- package/editor/ecs/component/FieldDescriptor.d.ts +26 -26
- package/editor/ecs/component/FieldValueAdapter.d.ts +6 -6
- package/editor/ecs/component/TypeEditor.d.ts +24 -24
- package/editor/ecs/component/createFieldEditor.d.ts +8 -8
- package/editor/ecs/component/createObjectEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ColorEditor.d.ts +6 -6
- package/editor/ecs/component/editors/HTMLElementEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ImagePathEditor.d.ts +6 -6
- package/editor/ecs/component/editors/LargeStringEditor.d.ts +15 -15
- package/editor/ecs/component/editors/NumericIntervalEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedBooleanEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedEnumEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedIntegerEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ObservedStringEditor.d.ts +6 -6
- package/editor/ecs/component/editors/Sampler2DEditor.d.ts +6 -6
- package/editor/ecs/component/editors/collection/ListEditor.d.ts +7 -7
- package/editor/ecs/component/editors/common/BitFlagsEditor.d.ts +11 -11
- package/editor/ecs/component/editors/common/EnumEditor.d.ts +7 -7
- package/editor/ecs/component/editors/common/makeV3_editor.d.ts +14 -14
- package/editor/ecs/component/editors/common/noEditor.d.ts +2 -2
- package/editor/ecs/component/editors/ecs/GridObstacleEditor.d.ts +6 -6
- package/editor/ecs/component/editors/ecs/MinimapMarkerEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ecs/ParameterLookupTableEditor.d.ts +66 -66
- package/editor/ecs/component/editors/ecs/ParameterTrackEditor.d.ts +11 -11
- package/editor/ecs/component/editors/ecs/ParameterTrackSetEditor.d.ts +13 -13
- package/editor/ecs/component/editors/ecs/ParticleEmitterEditor.d.ts +51 -51
- package/editor/ecs/component/editors/ecs/ParticleEmitterLayerEditor.d.ts +47 -47
- package/editor/ecs/component/editors/ecs/SimulationStepDefinitionEditor.d.ts +15 -15
- package/editor/ecs/component/editors/ecs/Trail2DEditor.d.ts +29 -29
- package/editor/ecs/component/editors/ecs/TransformEditor.d.ts +19 -19
- package/editor/ecs/component/editors/ecs/terrain/SplatMappingEditor.d.ts +18 -18
- package/editor/ecs/component/editors/ecs/terrain/TerrainEditor.d.ts +38 -38
- package/editor/ecs/component/editors/ecs/terrain/TerrainLayerEditor.d.ts +15 -15
- package/editor/ecs/component/editors/ecs/terrain/TerrainLayersEditor.d.ts +18 -18
- package/editor/ecs/component/editors/ecs/terrain/TerrainOverlayEditor.d.ts +17 -17
- package/editor/ecs/component/editors/geom/QuaternionEditor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector1Editor.d.ts +6 -6
- package/editor/ecs/component/editors/geom/Vector2Editor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector3Editor.d.ts +5 -5
- package/editor/ecs/component/editors/geom/Vector4Editor.d.ts +5 -5
- package/editor/ecs/component/editors/primitive/ArrayEditor.d.ts +7 -7
- package/editor/ecs/component/editors/primitive/BooleanEditor.d.ts +6 -6
- package/editor/ecs/component/editors/primitive/FunctionEditor.d.ts +6 -6
- package/editor/ecs/component/editors/primitive/NumberEditor.d.ts +7 -7
- package/editor/ecs/component/editors/primitive/ObjectEditor.d.ts +5 -5
- package/editor/ecs/component/editors/primitive/StringEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/BufferGeometryEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/MaterialEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/MeshEditor.d.ts +6 -6
- package/editor/ecs/component/editors/three/TextureEditor.d.ts +6 -6
- package/editor/ecs/component/findNearestRegisteredType.d.ts +7 -7
- package/editor/enableEditor.d.ts +13 -13
- package/editor/library/MeshLibrary.d.ts +12 -12
- package/editor/process/DisableGameUIProcess.d.ts +7 -7
- package/editor/process/EditorProcess.d.ts +18 -18
- package/editor/process/ObstacleGridDisplayProcess.d.ts +12 -12
- package/editor/process/ProcessEngine.d.ts +29 -29
- package/editor/process/SymbolicDisplayProcess.d.ts +18 -18
- package/editor/process/symbolic/ComponentSymbolicDisplay.d.ts +10 -10
- package/editor/process/symbolic/SymbolicDisplayInternalAPI.d.ts +64 -64
- package/editor/process/symbolic/buildThreeJSHelperEntity.d.ts +8 -8
- package/editor/process/symbolic/make3DSymbolicDisplay.d.ts +9 -9
- package/editor/process/symbolic/makeCameraSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeGridPositionSymbolDisplay.d.ts +5 -5
- package/editor/process/symbolic/makeHelperBoxGeometry.d.ts +2 -2
- package/editor/process/symbolic/makeHelperSphereGeometry.d.ts +8 -8
- package/editor/process/symbolic/makeLightSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeParticleEmitterSymbolicDisplay.d.ts +5 -5
- package/editor/process/symbolic/makePathSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makePositionedIconDisplaySymbol.d.ts +8 -8
- package/editor/process/symbolic/makeSocketsSymbolicDisplay.d.ts +6 -6
- package/editor/process/symbolic/makeSolidArrowGeometry.d.ts +25 -25
- package/editor/process/symbolic/makeSoundEmitterSymbolicDisplay.d.ts +5 -5
- package/editor/process/symbolic/synchronizeTransform.d.ts +11 -11
- package/editor/tools/GridPaintTool.d.ts +16 -16
- package/editor/tools/SelectionTool.d.ts +26 -26
- package/editor/tools/TopDownCameraControlTool.d.ts +12 -12
- package/editor/tools/engine/Tool.d.ts +63 -63
- package/editor/tools/engine/ToolEngine.d.ts +22 -22
- package/editor/tools/engine/ToolState.d.ts +6 -6
- package/editor/tools/paint/TerrainHeightPaintTool.d.ts +17 -17
- package/editor/tools/paint/TerrainPaintTool.d.ts +30 -30
- package/editor/tools/paint/TerrainTexturePaintTool.d.ts +17 -17
- package/editor/tools/v2/TransformMode.d.ts +6 -6
- package/editor/view/EditorView.d.ts +38 -38
- package/editor/view/ecs/ComponentControlFactory.d.ts +18 -18
- package/editor/view/ecs/ComponentControlView.d.ts +23 -23
- package/editor/view/ecs/EntityEditor.d.ts +29 -29
- package/editor/view/ecs/EntityList.d.ts +21 -21
- package/editor/view/ecs/HierarchicalEntityListView.d.ts +7 -7
- package/editor/view/ecs/components/DatGuiController.d.ts +45 -45
- package/editor/view/ecs/components/GridObstacleController.d.ts +13 -13
- package/editor/view/ecs/components/color/GaugeView.d.ts +12 -12
- package/editor/view/ecs/components/common/AutoCanvasView.d.ts +19 -19
- package/editor/view/ecs/components/common/LineView.d.ts +11 -11
- package/editor/view/ecs/components/common/NumberController.d.ts +17 -17
- package/editor/view/ecs/components/particles/ColorParameterLUTController.d.ts +13 -13
- package/editor/view/makeEntityDecorators.d.ts +5 -5
- package/editor/view/tools/ToolSettingsView.d.ts +10 -10
- package/editor/view/tools/ToolView.d.ts +12 -12
- package/editor/view/v2/SplitView.d.ts +16 -16
- package/package.json +1 -1
- package/samples/generation/grid/GridTags.d.ts +15 -15
- package/samples/generation/grid/MirGridLayers.d.ts +7 -7
- package/samples/generation/rules/matcher_tag_occupied.d.ts +2 -2
- package/samples/generation/rules/matcher_tag_traversable.d.ts +2 -2
- package/samples/generation/rules/matcher_tag_unoccupied.d.ts +2 -2
- package/src/engine/graphics/ecs/light/LightContext.d.ts +8 -0
- package/src/engine/graphics/ecs/light/LightContext.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/LightContext.js +33 -3
- package/src/engine/graphics/ecs/light/LightSystem.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/LightSystem.js +13 -6
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts +12 -0
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.d.ts.map +1 -1
- package/src/engine/graphics/ecs/light/binding/three/ThreeLightBinding.js +184 -6
- package/src/engine/graphics/render/buffer/simple-fx/ao/SAOShader.js +381 -362
- package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts +10 -0
- package/src/engine/graphics/shadows/ShadowMapRenderer.d.ts.map +1 -1
- package/src/engine/graphics/shadows/ShadowMapRenderer.js +83 -10
- package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts +2 -0
- package/src/engine/graphics/shadows/testPointShadowMapRendering.d.ts.map +1 -0
- package/src/engine/graphics/shadows/testPointShadowMapRendering.js +242 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export default ToolEngine;
|
|
2
|
-
declare class ToolEngine {
|
|
3
|
-
tools: List<any>;
|
|
4
|
-
active: ObservedValue;
|
|
5
|
-
engine: any;
|
|
6
|
-
isRunning: boolean;
|
|
7
|
-
shutdownCallbacks: any[];
|
|
8
|
-
pointer: PointerDevice;
|
|
9
|
-
activate(toolName: any): void;
|
|
10
|
-
initialize(): void;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param {Engine} engine
|
|
14
|
-
* @param {Editor} editor
|
|
15
|
-
*/
|
|
16
|
-
startup(engine: Engine, editor: Editor): void;
|
|
17
|
-
editor: Editor;
|
|
18
|
-
shutdown(): void;
|
|
19
|
-
}
|
|
20
|
-
import List from '../../../src/core/collection/list/List.js';
|
|
21
|
-
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
22
|
-
import { PointerDevice } from '../../../src/engine/input/devices/PointerDevice.js';
|
|
1
|
+
export default ToolEngine;
|
|
2
|
+
declare class ToolEngine {
|
|
3
|
+
tools: List<any>;
|
|
4
|
+
active: ObservedValue;
|
|
5
|
+
engine: any;
|
|
6
|
+
isRunning: boolean;
|
|
7
|
+
shutdownCallbacks: any[];
|
|
8
|
+
pointer: PointerDevice;
|
|
9
|
+
activate(toolName: any): void;
|
|
10
|
+
initialize(): void;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {Engine} engine
|
|
14
|
+
* @param {Editor} editor
|
|
15
|
+
*/
|
|
16
|
+
startup(engine: Engine, editor: Editor): void;
|
|
17
|
+
editor: Editor;
|
|
18
|
+
shutdown(): void;
|
|
19
|
+
}
|
|
20
|
+
import List from '../../../src/core/collection/list/List.js';
|
|
21
|
+
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
22
|
+
import { PointerDevice } from '../../../src/engine/input/devices/PointerDevice.js';
|
|
23
23
|
//# sourceMappingURL=ToolEngine.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type ToolState = number;
|
|
2
|
-
export namespace ToolState {
|
|
3
|
-
let Initial: number;
|
|
4
|
-
let Ready: number;
|
|
5
|
-
let Running: number;
|
|
6
|
-
}
|
|
1
|
+
export type ToolState = number;
|
|
2
|
+
export namespace ToolState {
|
|
3
|
+
let Initial: number;
|
|
4
|
+
let Ready: number;
|
|
5
|
+
let Running: number;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=ToolState.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export class TerrainHeightPaintTool extends TerrainPaintTool {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @type {QuadTreeNode<number>}
|
|
5
|
-
*/
|
|
6
|
-
transform_index: QuadTreeNode<number>;
|
|
7
|
-
buildTransformIndex(): void;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param {PatchTerrainHeightAction} action
|
|
11
|
-
* @returns {Action[]}
|
|
12
|
-
*/
|
|
13
|
-
createObjectMoveActions(action: PatchTerrainHeightAction): Action[];
|
|
14
|
-
}
|
|
15
|
-
import { TerrainPaintTool } from "./TerrainPaintTool.js";
|
|
16
|
-
import { QuadTreeNode } from "../../../src/core/geom/2d/quad-tree/QuadTreeNode.js";
|
|
17
|
-
import { PatchTerrainHeightAction } from "../../actions/concrete/PatchTerrainHeightAction.js";
|
|
1
|
+
export class TerrainHeightPaintTool extends TerrainPaintTool {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @type {QuadTreeNode<number>}
|
|
5
|
+
*/
|
|
6
|
+
transform_index: QuadTreeNode<number>;
|
|
7
|
+
buildTransformIndex(): void;
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param {PatchTerrainHeightAction} action
|
|
11
|
+
* @returns {Action[]}
|
|
12
|
+
*/
|
|
13
|
+
createObjectMoveActions(action: PatchTerrainHeightAction): Action[];
|
|
14
|
+
}
|
|
15
|
+
import { TerrainPaintTool } from "./TerrainPaintTool.js";
|
|
16
|
+
import { QuadTreeNode } from "../../../src/core/geom/2d/quad-tree/QuadTreeNode.js";
|
|
17
|
+
import { PatchTerrainHeightAction } from "../../actions/concrete/PatchTerrainHeightAction.js";
|
|
18
18
|
//# sourceMappingURL=TerrainHeightPaintTool.d.ts.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export class TerrainPaintTool extends Tool {
|
|
2
|
-
name: string;
|
|
3
|
-
__brushPosition: Vector2;
|
|
4
|
-
__brushImage: HTMLCanvasElement;
|
|
5
|
-
__paint_debt: number;
|
|
6
|
-
__paint_pending: boolean;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @param {number} timeDelta
|
|
10
|
-
*/
|
|
11
|
-
paint(timeDelta: number): Promise<void>;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param {number} timeDelta
|
|
15
|
-
*/
|
|
16
|
-
update(timeDelta: number): void;
|
|
17
|
-
updateBrushImage(): void;
|
|
18
|
-
updateBrushPosition(): void;
|
|
19
|
-
updateOverlay(): void;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @param {Vector3} delta
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
private __handleMouseWheel;
|
|
26
|
-
terrain: import("../../../src/engine/ecs/terrain/ecs/Terrain.js").default;
|
|
27
|
-
terrainEntity: any;
|
|
28
|
-
}
|
|
29
|
-
import Tool from "../engine/Tool.js";
|
|
30
|
-
import Vector2 from "../../../src/core/geom/Vector2.js";
|
|
1
|
+
export class TerrainPaintTool extends Tool {
|
|
2
|
+
name: string;
|
|
3
|
+
__brushPosition: Vector2;
|
|
4
|
+
__brushImage: HTMLCanvasElement;
|
|
5
|
+
__paint_debt: number;
|
|
6
|
+
__paint_pending: boolean;
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param {number} timeDelta
|
|
10
|
+
*/
|
|
11
|
+
paint(timeDelta: number): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @param {number} timeDelta
|
|
15
|
+
*/
|
|
16
|
+
update(timeDelta: number): void;
|
|
17
|
+
updateBrushImage(): void;
|
|
18
|
+
updateBrushPosition(): void;
|
|
19
|
+
updateOverlay(): void;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @param {Vector3} delta
|
|
23
|
+
* @private
|
|
24
|
+
*/
|
|
25
|
+
private __handleMouseWheel;
|
|
26
|
+
terrain: import("../../../src/engine/ecs/terrain/ecs/Terrain.js").default;
|
|
27
|
+
terrainEntity: any;
|
|
28
|
+
}
|
|
29
|
+
import Tool from "../engine/Tool.js";
|
|
30
|
+
import Vector2 from "../../../src/core/geom/Vector2.js";
|
|
31
31
|
//# sourceMappingURL=TerrainPaintTool.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export class TerrainTexturePaintTool extends TerrainPaintTool {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @type {Float32Array}
|
|
5
|
-
* @private
|
|
6
|
-
*/
|
|
7
|
-
private __splatMapScratch;
|
|
8
|
-
__iconLayer: any;
|
|
9
|
-
updateIcon(editor: any): void;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @param {Terrain} terrain
|
|
13
|
-
*/
|
|
14
|
-
buildIcon(terrain: Terrain): void;
|
|
15
|
-
paint(timeDelta: any): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
import { TerrainPaintTool } from "./TerrainPaintTool.js";
|
|
1
|
+
export class TerrainTexturePaintTool extends TerrainPaintTool {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @type {Float32Array}
|
|
5
|
+
* @private
|
|
6
|
+
*/
|
|
7
|
+
private __splatMapScratch;
|
|
8
|
+
__iconLayer: any;
|
|
9
|
+
updateIcon(editor: any): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param {Terrain} terrain
|
|
13
|
+
*/
|
|
14
|
+
buildIcon(terrain: Terrain): void;
|
|
15
|
+
paint(timeDelta: any): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
import { TerrainPaintTool } from "./TerrainPaintTool.js";
|
|
18
18
|
//# sourceMappingURL=TerrainTexturePaintTool.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type TransformMode = string;
|
|
2
|
-
export namespace TransformMode {
|
|
3
|
-
let Scale: string;
|
|
4
|
-
let Translate: string;
|
|
5
|
-
let Rotate: string;
|
|
6
|
-
}
|
|
1
|
+
export type TransformMode = string;
|
|
2
|
+
export namespace TransformMode {
|
|
3
|
+
let Scale: string;
|
|
4
|
+
let Translate: string;
|
|
5
|
+
let Rotate: string;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=TransformMode.d.ts.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export default EditorView;
|
|
2
|
-
declare class EditorView extends View<HTMLElement> {
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @param {Editor} editor
|
|
6
|
-
* @constructor
|
|
7
|
-
*/
|
|
8
|
-
constructor(editor: Editor);
|
|
9
|
-
main: EmptyView;
|
|
10
|
-
mainViewport: EmptyView;
|
|
11
|
-
el: Element;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @type {Editor}
|
|
15
|
-
*/
|
|
16
|
-
editor: Editor;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {View|null}
|
|
20
|
-
*/
|
|
21
|
-
gameView: View | null;
|
|
22
|
-
entityListView: EntityListView;
|
|
23
|
-
entityEditor: EntityEditorView;
|
|
24
|
-
toolSettings: ToolSettingsView;
|
|
25
|
-
toolBar: ListView;
|
|
26
|
-
processBar: ListView;
|
|
27
|
-
selectionView: VirtualListView;
|
|
28
|
-
coordinateView: GridPickCoordinateView;
|
|
29
|
-
layout(): void;
|
|
30
|
-
}
|
|
31
|
-
import View from "../../src/view/View.js";
|
|
32
|
-
import EmptyView from "../../src/view/elements/EmptyView.js";
|
|
33
|
-
import EntityListView from './ecs/EntityList.js';
|
|
34
|
-
import EntityEditorView from './ecs/EntityEditor.js';
|
|
35
|
-
import ToolSettingsView from "./tools/ToolSettingsView.js";
|
|
36
|
-
import ListView from "../../src/view/common/ListView.js";
|
|
37
|
-
import VirtualListView from '../../src/view/common/VirtualListView.js';
|
|
38
|
-
import GridPickCoordinateView from "./GridPickCoordinateView.js";
|
|
1
|
+
export default EditorView;
|
|
2
|
+
declare class EditorView extends View<HTMLElement> {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Editor} editor
|
|
6
|
+
* @constructor
|
|
7
|
+
*/
|
|
8
|
+
constructor(editor: Editor);
|
|
9
|
+
main: EmptyView;
|
|
10
|
+
mainViewport: EmptyView;
|
|
11
|
+
el: Element;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @type {Editor}
|
|
15
|
+
*/
|
|
16
|
+
editor: Editor;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {View|null}
|
|
20
|
+
*/
|
|
21
|
+
gameView: View | null;
|
|
22
|
+
entityListView: EntityListView;
|
|
23
|
+
entityEditor: EntityEditorView;
|
|
24
|
+
toolSettings: ToolSettingsView;
|
|
25
|
+
toolBar: ListView;
|
|
26
|
+
processBar: ListView;
|
|
27
|
+
selectionView: VirtualListView;
|
|
28
|
+
coordinateView: GridPickCoordinateView;
|
|
29
|
+
layout(): void;
|
|
30
|
+
}
|
|
31
|
+
import View from "../../src/view/View.js";
|
|
32
|
+
import EmptyView from "../../src/view/elements/EmptyView.js";
|
|
33
|
+
import EntityListView from './ecs/EntityList.js';
|
|
34
|
+
import EntityEditorView from './ecs/EntityEditor.js';
|
|
35
|
+
import ToolSettingsView from "./tools/ToolSettingsView.js";
|
|
36
|
+
import ListView from "../../src/view/common/ListView.js";
|
|
37
|
+
import VirtualListView from '../../src/view/common/VirtualListView.js';
|
|
38
|
+
import GridPickCoordinateView from "./GridPickCoordinateView.js";
|
|
39
39
|
//# sourceMappingURL=EditorView.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export default ComponentControlFactory;
|
|
2
|
-
declare class ComponentControlFactory {
|
|
3
|
-
controllerTypes: {};
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @param {string} componentTypeName
|
|
7
|
-
* @param {function} factory
|
|
8
|
-
* @returns {ComponentControlFactory}
|
|
9
|
-
*/
|
|
10
|
-
register(componentTypeName: string, factory: Function): ComponentControlFactory;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param {string} componentTypeName
|
|
14
|
-
* @returns {object} instance of a controller for given component type
|
|
15
|
-
*/
|
|
16
|
-
create(componentTypeName: string): object;
|
|
17
|
-
exists(typeName: any): boolean;
|
|
18
|
-
}
|
|
1
|
+
export default ComponentControlFactory;
|
|
2
|
+
declare class ComponentControlFactory {
|
|
3
|
+
controllerTypes: {};
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @param {string} componentTypeName
|
|
7
|
+
* @param {function} factory
|
|
8
|
+
* @returns {ComponentControlFactory}
|
|
9
|
+
*/
|
|
10
|
+
register(componentTypeName: string, factory: Function): ComponentControlFactory;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param {string} componentTypeName
|
|
14
|
+
* @returns {object} instance of a controller for given component type
|
|
15
|
+
*/
|
|
16
|
+
create(componentTypeName: string): object;
|
|
17
|
+
exists(typeName: any): boolean;
|
|
18
|
+
}
|
|
19
19
|
//# sourceMappingURL=ComponentControlFactory.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @template T
|
|
3
|
-
*/
|
|
4
|
-
export class ComponentControlView<T> extends View<HTMLElement> {
|
|
5
|
-
/**
|
|
6
|
-
* @template T
|
|
7
|
-
* @param {number} entity
|
|
8
|
-
* @param {T} component
|
|
9
|
-
* @param {EntityManager} entityManager
|
|
10
|
-
* @param {View} vController
|
|
11
|
-
* @param engine
|
|
12
|
-
* @constructor
|
|
13
|
-
*/
|
|
14
|
-
constructor(entity: number, component: T_1, entityManager: EntityManager, vController: View, engine: any);
|
|
15
|
-
signal: {
|
|
16
|
-
remove: Signal<any, any, any, any, any, any, any, any>;
|
|
17
|
-
};
|
|
18
|
-
el: Element;
|
|
19
|
-
folded: ObservedBoolean;
|
|
20
|
-
}
|
|
21
|
-
import View from "../../../src/view/View.js";
|
|
22
|
-
import Signal from "../../../src/core/events/signal/Signal.js";
|
|
23
|
-
import ObservedBoolean from "../../../src/core/model/ObservedBoolean.js";
|
|
1
|
+
/**
|
|
2
|
+
* @template T
|
|
3
|
+
*/
|
|
4
|
+
export class ComponentControlView<T> extends View<HTMLElement> {
|
|
5
|
+
/**
|
|
6
|
+
* @template T
|
|
7
|
+
* @param {number} entity
|
|
8
|
+
* @param {T} component
|
|
9
|
+
* @param {EntityManager} entityManager
|
|
10
|
+
* @param {View} vController
|
|
11
|
+
* @param engine
|
|
12
|
+
* @constructor
|
|
13
|
+
*/
|
|
14
|
+
constructor(entity: number, component: T_1, entityManager: EntityManager, vController: View, engine: any);
|
|
15
|
+
signal: {
|
|
16
|
+
remove: Signal<any, any, any, any, any, any, any, any>;
|
|
17
|
+
};
|
|
18
|
+
el: Element;
|
|
19
|
+
folded: ObservedBoolean;
|
|
20
|
+
}
|
|
21
|
+
import View from "../../../src/view/View.js";
|
|
22
|
+
import Signal from "../../../src/core/events/signal/Signal.js";
|
|
23
|
+
import ObservedBoolean from "../../../src/core/model/ObservedBoolean.js";
|
|
24
24
|
//# sourceMappingURL=ComponentControlView.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export default EntityEditor;
|
|
2
|
-
declare class EntityEditor extends View<HTMLElement> {
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @param {ComponentControlFactory} componentControlFactory
|
|
6
|
-
* @param {Editor} editor
|
|
7
|
-
* @constructor
|
|
8
|
-
*/
|
|
9
|
-
constructor(componentControlFactory: ComponentControlFactory, editor: Editor);
|
|
10
|
-
el: Element;
|
|
11
|
-
model: ObservedValue;
|
|
12
|
-
/**
|
|
13
|
-
* @type {ObservedValue<EntityManager>}
|
|
14
|
-
*/
|
|
15
|
-
entityManager: any;
|
|
16
|
-
components: List<any>;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {Map<Object, ComponentControlView>}
|
|
20
|
-
*/
|
|
21
|
-
componentControllers: Map<any, ComponentControlView<any>>;
|
|
22
|
-
vLabelEntity: LabelView;
|
|
23
|
-
handlers: {};
|
|
24
|
-
}
|
|
25
|
-
import View from "../../../src/view/View.js";
|
|
26
|
-
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
27
|
-
import List from '../../../src/core/collection/list/List.js';
|
|
28
|
-
import { ComponentControlView } from "./ComponentControlView.js";
|
|
29
|
-
import LabelView from '../../../src/view/common/LabelView.js';
|
|
1
|
+
export default EntityEditor;
|
|
2
|
+
declare class EntityEditor extends View<HTMLElement> {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {ComponentControlFactory} componentControlFactory
|
|
6
|
+
* @param {Editor} editor
|
|
7
|
+
* @constructor
|
|
8
|
+
*/
|
|
9
|
+
constructor(componentControlFactory: ComponentControlFactory, editor: Editor);
|
|
10
|
+
el: Element;
|
|
11
|
+
model: ObservedValue;
|
|
12
|
+
/**
|
|
13
|
+
* @type {ObservedValue<EntityManager>}
|
|
14
|
+
*/
|
|
15
|
+
entityManager: any;
|
|
16
|
+
components: List<any>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {Map<Object, ComponentControlView>}
|
|
20
|
+
*/
|
|
21
|
+
componentControllers: Map<any, ComponentControlView<any>>;
|
|
22
|
+
vLabelEntity: LabelView;
|
|
23
|
+
handlers: {};
|
|
24
|
+
}
|
|
25
|
+
import View from "../../../src/view/View.js";
|
|
26
|
+
import ObservedValue from '../../../src/core/model/ObservedValue.js';
|
|
27
|
+
import List from '../../../src/core/collection/list/List.js';
|
|
28
|
+
import { ComponentControlView } from "./ComponentControlView.js";
|
|
29
|
+
import LabelView from '../../../src/view/common/LabelView.js';
|
|
30
30
|
//# sourceMappingURL=EntityEditor.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export default EntityListView;
|
|
2
|
-
declare class EntityListView extends View<HTMLElement> {
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @param {Editor} editor
|
|
6
|
-
* @param { (function(entity:number, ecd:EntityComponentDataset, view:View):void)[]} decorators
|
|
7
|
-
*/
|
|
8
|
-
constructor({ editor, decorators }: Editor);
|
|
9
|
-
el: HTMLDivElement;
|
|
10
|
-
on: {};
|
|
11
|
-
editor: Editor;
|
|
12
|
-
handlers: {
|
|
13
|
-
addOne: (entity: any) => void;
|
|
14
|
-
removeOne: (entity: any) => void;
|
|
15
|
-
selectOne: (entity: any) => void;
|
|
16
|
-
deselectOne: (entity: any) => void;
|
|
17
|
-
reset: () => void;
|
|
18
|
-
};
|
|
19
|
-
layout(): void;
|
|
20
|
-
}
|
|
21
|
-
import View from "../../../src/view/View.js";
|
|
1
|
+
export default EntityListView;
|
|
2
|
+
declare class EntityListView extends View<HTMLElement> {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {Editor} editor
|
|
6
|
+
* @param { (function(entity:number, ecd:EntityComponentDataset, view:View):void)[]} decorators
|
|
7
|
+
*/
|
|
8
|
+
constructor({ editor, decorators }: Editor);
|
|
9
|
+
el: HTMLDivElement;
|
|
10
|
+
on: {};
|
|
11
|
+
editor: Editor;
|
|
12
|
+
handlers: {
|
|
13
|
+
addOne: (entity: any) => void;
|
|
14
|
+
removeOne: (entity: any) => void;
|
|
15
|
+
selectOne: (entity: any) => void;
|
|
16
|
+
deselectOne: (entity: any) => void;
|
|
17
|
+
reset: () => void;
|
|
18
|
+
};
|
|
19
|
+
layout(): void;
|
|
20
|
+
}
|
|
21
|
+
import View from "../../../src/view/View.js";
|
|
22
22
|
//# sourceMappingURL=EntityList.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export class HierarchicalEntityListView extends EmptyView {
|
|
2
|
-
constructor();
|
|
3
|
-
set selection(arg: any);
|
|
4
|
-
set dataset(arg: any);
|
|
5
|
-
#private;
|
|
6
|
-
}
|
|
7
|
-
import EmptyView from "../../../src/view/elements/EmptyView.js";
|
|
1
|
+
export class HierarchicalEntityListView extends EmptyView {
|
|
2
|
+
constructor();
|
|
3
|
+
set selection(arg: any);
|
|
4
|
+
set dataset(arg: any);
|
|
5
|
+
#private;
|
|
6
|
+
}
|
|
7
|
+
import EmptyView from "../../../src/view/elements/EmptyView.js";
|
|
8
8
|
//# sourceMappingURL=HierarchicalEntityListView.d.ts.map
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export default DatGuiController;
|
|
2
|
-
declare class DatGuiController extends GuiControl {
|
|
3
|
-
constructor({ classList }?: {
|
|
4
|
-
classList?: any[];
|
|
5
|
-
});
|
|
6
|
-
gui: any;
|
|
7
|
-
el: any;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param {object} object
|
|
11
|
-
* @param {string} property
|
|
12
|
-
* @param {number} bitIndex
|
|
13
|
-
* @param {string} name
|
|
14
|
-
* @param {*} [extra]
|
|
15
|
-
*/
|
|
16
|
-
addBitFlag(object: object, property: string, bitIndex: number, name: string, extra?: any): Controller;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param {function} method
|
|
20
|
-
* @param {string} [name]
|
|
21
|
-
* @param {*} [thisArg]
|
|
22
|
-
* @return {Controller}
|
|
23
|
-
*/
|
|
24
|
-
addAction(method: Function, name?: string, thisArg?: any): Controller;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @param object
|
|
28
|
-
* @param {string} property
|
|
29
|
-
* @param extra
|
|
30
|
-
* @return {Controller}
|
|
31
|
-
*/
|
|
32
|
-
add(object: any, property: string, extra: any): Controller;
|
|
33
|
-
addEnumRaw(object: any, property: any, type: any): Controller;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @param {Object} object
|
|
37
|
-
* @param {string} property
|
|
38
|
-
* @param {Object|Array} [extra]
|
|
39
|
-
* @returns {Controller}
|
|
40
|
-
*/
|
|
41
|
-
addControl(object: any, property: string, extra?: any | any[]): Controller;
|
|
42
|
-
addFolder(name: any): any;
|
|
43
|
-
addColorControl(object: any, property: any): any;
|
|
44
|
-
}
|
|
45
|
-
import GuiControl from "../../../../src/view/controller/controls/GuiControl.js";
|
|
1
|
+
export default DatGuiController;
|
|
2
|
+
declare class DatGuiController extends GuiControl {
|
|
3
|
+
constructor({ classList }?: {
|
|
4
|
+
classList?: any[];
|
|
5
|
+
});
|
|
6
|
+
gui: any;
|
|
7
|
+
el: any;
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param {object} object
|
|
11
|
+
* @param {string} property
|
|
12
|
+
* @param {number} bitIndex
|
|
13
|
+
* @param {string} name
|
|
14
|
+
* @param {*} [extra]
|
|
15
|
+
*/
|
|
16
|
+
addBitFlag(object: object, property: string, bitIndex: number, name: string, extra?: any): Controller;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param {function} method
|
|
20
|
+
* @param {string} [name]
|
|
21
|
+
* @param {*} [thisArg]
|
|
22
|
+
* @return {Controller}
|
|
23
|
+
*/
|
|
24
|
+
addAction(method: Function, name?: string, thisArg?: any): Controller;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param object
|
|
28
|
+
* @param {string} property
|
|
29
|
+
* @param extra
|
|
30
|
+
* @return {Controller}
|
|
31
|
+
*/
|
|
32
|
+
add(object: any, property: string, extra: any): Controller;
|
|
33
|
+
addEnumRaw(object: any, property: any, type: any): Controller;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param {Object} object
|
|
37
|
+
* @param {string} property
|
|
38
|
+
* @param {Object|Array} [extra]
|
|
39
|
+
* @returns {Controller}
|
|
40
|
+
*/
|
|
41
|
+
addControl(object: any, property: string, extra?: any | any[]): Controller;
|
|
42
|
+
addFolder(name: any): any;
|
|
43
|
+
addColorControl(object: any, property: any): any;
|
|
44
|
+
}
|
|
45
|
+
import GuiControl from "../../../../src/view/controller/controls/GuiControl.js";
|
|
46
46
|
//# sourceMappingURL=DatGuiController.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {GridObstacle} grid
|
|
4
|
-
* @param {HTMLCanvasElement} canvas
|
|
5
|
-
*/
|
|
6
|
-
export function buildGridObstaclePreview(grid: GridObstacle, canvas: HTMLCanvasElement): void;
|
|
7
|
-
export class GridObstacleController extends View<HTMLElement> {
|
|
8
|
-
constructor();
|
|
9
|
-
el: HTMLDivElement;
|
|
10
|
-
model: ObservedValue;
|
|
11
|
-
}
|
|
12
|
-
import View from "../../../../src/view/View.js";
|
|
13
|
-
import ObservedValue from "../../../../src/core/model/ObservedValue.js";
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param {GridObstacle} grid
|
|
4
|
+
* @param {HTMLCanvasElement} canvas
|
|
5
|
+
*/
|
|
6
|
+
export function buildGridObstaclePreview(grid: GridObstacle, canvas: HTMLCanvasElement): void;
|
|
7
|
+
export class GridObstacleController extends View<HTMLElement> {
|
|
8
|
+
constructor();
|
|
9
|
+
el: HTMLDivElement;
|
|
10
|
+
model: ObservedValue;
|
|
11
|
+
}
|
|
12
|
+
import View from "../../../../src/view/View.js";
|
|
13
|
+
import ObservedValue from "../../../../src/core/model/ObservedValue.js";
|
|
14
14
|
//# sourceMappingURL=GridObstacleController.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export class GaugeView extends GuiControl {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {string} name
|
|
5
|
-
* @param {function} draw
|
|
6
|
-
* @param {string[]} classList
|
|
7
|
-
* @constructor
|
|
8
|
-
*/
|
|
9
|
-
constructor({ name, draw, classList }: string);
|
|
10
|
-
render: () => void;
|
|
11
|
-
}
|
|
12
|
-
import GuiControl from "../../../../../src/view/controller/controls/GuiControl.js";
|
|
1
|
+
export class GaugeView extends GuiControl {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {string} name
|
|
5
|
+
* @param {function} draw
|
|
6
|
+
* @param {string[]} classList
|
|
7
|
+
* @constructor
|
|
8
|
+
*/
|
|
9
|
+
constructor({ name, draw, classList }: string);
|
|
10
|
+
render: () => void;
|
|
11
|
+
}
|
|
12
|
+
import GuiControl from "../../../../../src/view/controller/controls/GuiControl.js";
|
|
13
13
|
//# sourceMappingURL=GaugeView.d.ts.map
|