collision detection between player and energy