Antura  1.1.0
Antura.Minigames.IGameConfiguration Interface Reference

Interface for all configuration containers of minigames. Holds data passed from the core application to the minigame at a given instance. All minigames define their own configuration class. More...

Public Member Functions

IQuestionBuilder SetupBuilder ()
 Return the builder that defines the rules to build question packs More...
 
MiniGameLearnRules SetupLearnRules ()
 Return the rules for learning related to this minigame More...
 
void SetMiniGameCode (MiniGameCode code)
 Setups the variation to use in the MiniGame's logic given a MiniGameCode More...
 

Properties

IGameContext Context [get, set]
 Gets pr sets the context. More...
 
IQuestionProvider Questions [get, set]
 Gets or sets the questions. More...
 
float Difficulty [get, set]
 Gets or sets the difficulty. More...
 
bool TutorialEnabled [get, set]
 Should this MiniGame perform the tutorial when starting? More...
 

Detailed Description

Interface for all configuration containers of minigames. Holds data passed from the core application to the minigame at a given instance. All minigames define their own configuration class.

Member Function Documentation

◆ SetMiniGameCode()

void Antura.Minigames.IGameConfiguration.SetMiniGameCode ( MiniGameCode  code)

Setups the variation to use in the MiniGame's logic given a MiniGameCode

◆ SetupBuilder()

IQuestionBuilder Antura.Minigames.IGameConfiguration.SetupBuilder ( )

Return the builder that defines the rules to build question packs

Returns

◆ SetupLearnRules()

MiniGameLearnRules Antura.Minigames.IGameConfiguration.SetupLearnRules ( )

Return the rules for learning related to this minigame

Returns

Property Documentation

◆ Context

IGameContext Antura.Minigames.IGameConfiguration.Context
getset

Gets pr sets the context.

The context.

◆ Difficulty

float Antura.Minigames.IGameConfiguration.Difficulty
getset

Gets or sets the difficulty.

The difficulty.

◆ Questions

IQuestionProvider Antura.Minigames.IGameConfiguration.Questions
getset

Gets or sets the questions.

The questions.

◆ TutorialEnabled

bool Antura.Minigames.IGameConfiguration.TutorialEnabled
getset

Should this MiniGame perform the tutorial when starting?


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