My Collision methods

I did the challenges in a slightly different way.
I created another state and called it god. So when ever i enter the C key my state changes to god. In the god state only thrusting and rotation are enabled and the tags on the obstacles are not not recognized. When ever i m not pressing the C key i change the state to alive hence, the game behaves as normal. Attached are the screen shots of my code. If you guys can peer review and let me know if i my solution can be improved.
god%20enumupdate%20conditionthruistoncollision%20code

Privacy & Terms