MCPcopy Create free account
hub / github.com/SplootCode/splootcode / constructor

Method constructor

packages/editor/src/context/edit_box.ts:10–16  ·  view source on GitHub ↗
(nodeBlock: NodeBlock, property: string, coordindates: number[])

Source from the content-addressed store, hash-verified

8 node: NodeBlock
9
10 constructor(nodeBlock: NodeBlock, property: string, coordindates: number[]) {
11 this.node = nodeBlock
12 this.property = property
13 this.contents = this.node.node.getProperty(property)
14 this.x = coordindates[0]
15 this.y = coordindates[1]
16 }
17}

Callers

nothing calls this directly

Calls 1

getPropertyMethod · 0.80

Tested by

no test coverage detected