Change how collisions work and add render function to game elements