Raymond Maarloeve
Loading...
Searching...
No Matches
MiniGameManager Class Reference

Singleton manager for the “history fragments” mini‐game.
Controls showing the mini‐game UI, populating suspects, generating draggable blocks, evaluating the player’s selection, and displaying the result. More...

Public Member Functions

void Setup (List< string > trueBlocks, List< string > fakeBlocks)
 Sets up MiniGame blocks with given blocks

 
void StartMiniGame ()
 Opens the mini‐game panel, hides the result text, populates suspects, and generates blocks.
 
void EndMiniGame ()
 Closes the mini‐game panel without evaluating results.
 

Static Public Attributes

static MiniGameManager Instance
 Singleton instance of the MiniGameManager.
 

Detailed Description

Singleton manager for the “history fragments” mini‐game.
Controls showing the mini‐game UI, populating suspects, generating draggable blocks, evaluating the player’s selection, and displaying the result.

Member Function Documentation

◆ EndMiniGame()

void MiniGameManager.EndMiniGame ( )

Closes the mini‐game panel without evaluating results.

◆ Setup()

void MiniGameManager.Setup ( List< string >  trueBlocks,
List< string >  fakeBlocks 
)

Sets up MiniGame blocks with given blocks

Parameters
trueBlocksList of true story blocks
fakeBlocksList of false story blocks

◆ StartMiniGame()

void MiniGameManager.StartMiniGame ( )

Opens the mini‐game panel, hides the result text, populates suspects, and generates blocks.

Member Data Documentation

◆ Instance

MiniGameManager MiniGameManager.Instance
static

Singleton instance of the MiniGameManager.


The documentation for this class was generated from the following file: