Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ update
Method
update
assets/js/shooting_game.js:42–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
c.fill()
41
}
42
update() {
43
this.draw()
44
this.x = this.x + this.velocity.x
45
this.y = this.y + this.velocity.y
46
}
47
}
48
49
class
Enemy {
Callers
nothing calls this directly
Calls
1
draw
Method · 0.95
Tested by
no test coverage detected