/// <summary> /// Sets the game mode being played. /// Allows it to talk to the game mode to update it when a character dies, /// or something else happpens such as ending game early. /// </summary> /// <param name="gameMode">Game mode.</param> public void setGameModeBeingPlayed(PlayerVersusComputerGameModeBehavior gameMode) { this.gameModeBeingPlayed = gameMode; }