Skip to content

SplashScreenManager Class

GameHost use only. Use the CheckRun() method to show any splash screens after OnGameStarted() was called.

C#
public class SplashScreenManager : ScreenObject, IScreenObject, IPositionable, IComponentHost

Inheritance objectScreenObject

Implements IScreenObject, SadRogue.Primitives.IPositionable, IComponentHost

Checks if any splash screens have been added with SetSplashScreens(params IScreenSurface[]), if so, starts them.

C#
public static void CheckRun()

Updates all SadComponents and Children.

C#
public override void Update(TimeSpan delta)

delta TimeSpan
The time that has elapsed since the last call.

Only processes if IsEnabled is true.

Raised when all splash screens have finished.

C#
public static event EventHandler? SplashScreenFinished

EventHandler