The first method you looking at is a validation:
If somehow the KillerInspectorScene instance is nullified it means that an other method in the program made an invalid operation regarding the logic of the game and so it will throw an error.The second method you looking at is a choice according to an action being made, it seems that there are 3 options for a killer to react and that method is "digesting" those options.
It receives the action of the killer and returns the scene state according to that action.
I suggest that you check who is calling the methods and in which occasions exactly to learn more of your code.
Good Luck.