make
functionThe 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
Use the standard casting function for casting between a generic pointer to it’s base pointer type