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

Method constructor

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

Source from the content-addressed store, hash-verified

73 // this class is not yet used, later will be used to configure the Physical component
74
75 constructor (...args) {
76 super(...Array.from(args || []))
77 this.callback = this.callback.bind(this)
78 if (this.settings.world == null) { console.error('Region Treema node needs a World included in the settings.') }
79 if (this.settings.view == null) { console.error('Region Treema node needs a RootView included in the settings.') }
80 }
81
82 buildValueForDisplay (valEl, data) {
83 super.buildValueForDisplay(valEl, data)

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected