MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / DiagonalCollisionInfo

Class DiagonalCollisionInfo

Line.js:1–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class DiagonalCollisionInfo {
2 constructor() {
3 this.collisionPoints = []
4 this.leftSideOfPlayerCollided = false;
5 this.rightSideOfPlayerCollided = false;
6 this.topSideOfPlayerCollided = false;
7 this.bottomSideOfPlayerCollided = false;
8 }
9
10
11
12
13}
14
15class Line {
16 constructor(x1, y1, x2, y2) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected