MicroTutorialFactory
A class in Root.Township, ATT.MicroTutorial.
Creates MicroTutorial instances for a player. Registered in the DI container.
- Listed in ATT, Features and other game namespaces
- Inherits or implements
IMicroTutorialFactory - Attributes
Preserve
Constructors
| Member | What it is |
|---|---|
MicroTutorialFactory(IDomainController domainController, IMicroTutorialSystem microTutorialSystem) | Creates a MicroTutorialFactory from domainController and microTutorialSystem. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private readonly IDomainController domainController | Domain controller passed to each tutorial. |
private readonly IMicroTutorialSystem microTutorialSystem | Micro tutorial system passed to each tutorial. |
Methods
| Member | What it is |
|---|---|
IMicroTutorial CreateTutorial(IMicroTutorialSettings settings, IPlayer player) | Returns a new MicroTutorial for the settings and player, using the injected system and domain controller. |