I want to store the score in game state to end game state. Example: I am in the playing game state and store the score, then when the game is finished. I switch to end game state. How can I send the score to the end game state? can anyone give me a simple example?