public bool collidesWith(SpriteCollider other) { if (pixelCollision) { return(Collision2D.collides(this, other)); } return(getBounds().overlaps(other.getBounds())); }