So I made a scrolling map engine and I\'m trying to add collision detection, but rects are not being recognized. Here\'s the class for the tiles on the scrolling engine. I m