MCPcopy Create free account
hub / github.com/codecombat/codecombat / constructor

Method constructor

app/views/editor/level/treema_nodes.js:36–41  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

34
35module.exports.WorldPointNode = (WorldPointNode = class WorldPointNode extends TreemaNode.nodeMap.point2d {
36 constructor (...args) {
37 super(...Array.from(args || []))
38 this.callback = this.callback.bind(this)
39 if (this.settings.world == null) { console.error('Point Treema node needs a World included in the settings.') }
40 if (this.settings.view == null) { console.error('Point Treema node needs a RootView included in the settings.') }
41 }
42
43 buildValueForDisplay (valEl, data) {
44 super.buildValueForDisplay(valEl, data)

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected