Files
ueblueprint/js/BlueprintData.js
2021-11-07 21:41:40 +01:00

15 lines
534 B
JavaScript

/** @typedef {import("./graph/GraphNode").default} GraphNode */
export default class BlueprintData {
constructor() {
/** @type {GraphNode[]}" */
this.nodes = new Array()
this.expandGridSize = 400
/** @type {number[]} */
this.additional = /*[2 * this.expandGridSize, 2 * this.expandGridSize]*/[0, 0]
/** @type {number[]} */
this.translateValue = /*[this.expandGridSize, this.expandGridSize]*/[0, 0]
/** @type {number[]} */
this.mousePosition = [0, 0]
}
}