Hitbox2D Class
export class Hitbox2D{
constructor(arcsci, pX = 0, pY = 0, width = 0, height = 0){
this.arcsci = arcsci;
this.x = pX;
this.y = pY;
this.width = width;
this.height = height;
this.debugIsColliding = false;
this.HBOXID = "";
this.isDetectionOnly = false;
}
...
}Last updated