The interactivecollisiontest failed badly. Desided to get back to it later and created a tilemap class that can draw and create multiple tiles.