Add some logic for hittesting the player and platforms