added a base function for checking collision in the scene manager