I added some more collision functions to Rect() that I would find useful that handle things like colliding with multiple rectangles in a list, and a function that takes in a Map<T, Rect> and spits out a list of the keys of the rectangles that intersect. I hope that other people will find these useful, and that I haven't screwed up! (This is probably my first real contribution to a repo besides my own)
I added some more collision functions to Rect() that I would find useful that handle things like colliding with multiple rectangles in a list, and a function that takes in a Map<T, Rect> and spits out a list of the keys of the rectangles that intersect. I hope that other people will find these useful, and that I haven't screwed up! (This is probably my first real contribution to a repo besides my own)