public bool Collide(GenericSprite sprite, double hitbox) { return(CollideSystem.collide(position, size, sprite.position, hitbox)); }
public bool Collide(GenericSprite sprite) { return(CollideSystem.collide(sprite, this)); }
public static bool collide(GenericSprite s1, GenericSprite s2) => collide(s1.position, s1.size, s2.position, s2.size);