Show / Hide Table of Contents

The Game Play Manager

The Game Play Manager is the central component of the game that is responsible for the gameplay. It tracks the gameplay loop and controls other components in order to keep the loop running. See the article on Main Components and Interactions for more information.

The Game Play Manager follows a singleton pattern, meaning that only one instance should exist at any point in the game.

The GamePlayManager

  1. State Manager - the GameState that represents the gameworld
  2. Campaign Sequence - a list of Proposal Sequences that represents the game campaign
  3. Intro Cut Scene - the CutSceneSequence that is played before the campaign starts
  4. Accept Stamp - the stamp that is used to approve proposals. The GamePlayManager disable the stamp if there is insufficient funds for the proposal
  5. Game Over Proposal - the Proposal scriptable object (which is not an actual in-game proposal) that is loaded if the player hits a game-over condition
  6. Insufficient Funds Convo - the conversation that is played if the player is unable to accept a proposal because their funds are insufficient
  7. UI Objects - a list of gameObjects that are only shown when gameplay is running. They are hidden when the game has not started and when the game is paused.
In This Article
Back to top Generated by DocFX