Antura  1.1.0
Antura.Minigames.MiniGameLauncher Class Reference

Handles the logic to launch minigames with the correct configuration. More...

Public Member Functions

 MiniGameLauncher (TeacherAI _teacher)
 
void LaunchGame (MiniGameCode _gameCode, MinigameLaunchConfiguration _launchConfiguration=null, bool forceNewPlaySession=false)
 Prepare the context and start a minigame. More...
 
IGameConfiguration ConfigureMiniGameScene (MiniGameCode code, string sessionName)
 Prepare the configuration for a given minigame. More...
 

Detailed Description

Handles the logic to launch minigames with the correct configuration.

Constructor & Destructor Documentation

◆ MiniGameLauncher()

Antura.Minigames.MiniGameLauncher.MiniGameLauncher ( TeacherAI  _teacher)

Member Function Documentation

◆ ConfigureMiniGameScene()

IGameConfiguration Antura.Minigames.MiniGameLauncher.ConfigureMiniGameScene ( MiniGameCode  code,
string  sessionName 
)

Prepare the configuration for a given minigame.

◆ LaunchGame()

void Antura.Minigames.MiniGameLauncher.LaunchGame ( MiniGameCode  _gameCode,
MinigameLaunchConfiguration  _launchConfiguration = null,
bool  forceNewPlaySession = false 
)

Prepare the context and start a minigame.

Parameters
_gameCodeThe minigame code.
_launchConfigurationThe launch configuration. If null, the Teacher will generate a new one.
forceNewPlaySessionIs this a new play session?

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