MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / constructor

Method constructor

assets/js/Angry_bird.js:50–53  ·  view source on GitHub ↗
(x, y, w, h)

Source from the content-addressed store, hash-verified

48
49class Ground extends Box {
50 constructor(x, y, w, h) {
51 super(x, y, w, h);
52 this.body.isStatic = true;
53 }
54
55 show() {
56 const pos = this.body.position;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected