Creation

  1. Generate a game state class using the BuildTool
  2. Include the class's header into the game mode's header
  3. Call the standard make function
  4. You have a newly created game state

Usage

The Game State class is in exactly the same position as the Player State class. Semantically, you should use the Game State to track any state changes for the game like

Casting

Use the standard casting function for casting between a generic pointer to it's base pointer type