Creation
- Generate a game state class using the BuildTool
- Include the class's header into the game mode's header
- Call the standard
make
function - 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
- A new area can be accessed
- A door is opened
- The time limit for the mission ran out
Casting
Use the standard casting function for casting between a generic pointer to it's base pointer type
- Home
- Beginner concepts
- Advanced concepts
- Engine developer and contributor resources