replaced handleCollision with typeOfThing prototype