Class SplashScreenConfig
A config object that adds splash screen objects with the SetSplashScreens(params IScreenSurface[]) method.
Implements
Inherited Members
Namespace: SadConsole.Configuration
Assembly: SadConsole.dll
Syntax
public class SplashScreenConfig : IConfigurator
Constructors
SplashScreenConfig()
Declaration
public SplashScreenConfig()
Properties
GenerateSplashScreen
A delegate that returns a set of splash screens to use.
Declaration
public Func<GameHost, IScreenSurface[]> GenerateSplashScreen { get; set; }
Property Value
Type | Description |
---|---|
Func<GameHost, IScreenSurface[]> |
Methods
Run(Builder, GameHost)
Called by the Builder; Runs the specific config for this object.
Declaration
public void Run(Builder config, GameHost game)
Parameters
Type | Name | Description |
---|---|---|
Builder | config | The builder configuration object. |
GameHost | game | The game object being created. |