mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-14 07:47:29 +08:00
Refactoring
This commit is contained in:
13
js/BlueprintData.js
Normal file
13
js/BlueprintData.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @typedef {import("./graph/GraphNode").default} GraphNode */
|
||||
export default class BlueprintData {
|
||||
|
||||
constructor() {
|
||||
/** @type {GraphNode[]}" */
|
||||
this.nodes = new Array()
|
||||
this.expandGridSize = 400
|
||||
/** @type {Array<number>} */
|
||||
this.additional = /*[2 * this.expandGridSize, 2 * this.expandGridSize]*/[0, 0]
|
||||
/** @type {Array<number>} */
|
||||
this.translateValue = /*[this.expandGridSize, this.expandGridSize]*/[0, 0]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user