Moved functions into GameState.

AI development will need these functions easily accessible.