-refactored collision class and methods to be more DRY making it easier to add collision functionality to objects