MCPcopy Create free account
hub / github.com/bwasti/mebm / constructor

Method constructor

script.js:497–505  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

495
496class TextLayer extends MoveableLayer {
497 constructor(text) {
498 let f = {
499 name: text
500 };
501 super(f);
502 this.color = "#ffffff";
503 this.shadow = true;
504 this.ready = true;
505 }
506
507 init(player, preview) {
508 super.init(player, preview);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected