removed handleCollision; added prototypes for typeOfThing and timeToDisappear; removed declaration of functions as "virtual"