MCPcopy
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / draw

Function draw

assets/js/Angry_bird.js:125–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123}
124
125function draw() {
126 background(bkgImg);
127 Matter.Engine.update(engine);
128 ground.show();
129 for (let box of boxes) {
130 box.show();
131 }
132 slingshot.show();
133 bird.show();
134}
135
136class SlingShot {
137 constructor(x, y, body) {

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected