Show / Hide Table of Contents

Class SplashScreenManager

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

Inheritance
object
ScreenObject
SplashScreenManager
Implements
IScreenObject
IPositionable
IComponentHost
Inherited Members
ScreenObject.ComponentsUpdate
ScreenObject.ComponentsRender
ScreenObject.ComponentsMouse
ScreenObject.ComponentsKeyboard
ScreenObject.ComponentsEmpty
ScreenObject.Render(TimeSpan)
ScreenObject.ProcessKeyboard(Keyboard)
ScreenObject.ProcessMouse(MouseScreenObjectState)
ScreenObject.LostMouse(MouseScreenObjectState)
ScreenObject.OnFocusLost()
ScreenObject.OnFocused()
ScreenObject.OnParentChanged(IScreenObject, IScreenObject)
ScreenObject.OnPositionChanging(Point, Point)
ScreenObject.OnPositionChanged(Point, Point)
ScreenObject.OnVisibleChanged()
ScreenObject.OnEnabledChanged()
ScreenObject.UpdateAbsolutePosition()
ScreenObject.ToString()
ScreenObject.GetSadComponents<TComponent>()
ScreenObject.GetSadComponent<TComponent>()
ScreenObject.HasSadComponent<TComponent>(out TComponent)
ScreenObject.OnSadComponentAdded(IComponent)
ScreenObject.OnSadComponentRemoved(IComponent)
ScreenObject.SortComponents()
ScreenObject.Components_FilterAddItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_FilterRemoveItem(IComponent, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.Components_Sort(List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>, List<IComponent>)
ScreenObject.OnSerializingMethod(StreamingContext)
ScreenObject.SortOrder
ScreenObject.Children
ScreenObject.Parent
ScreenObject.Position
ScreenObject.AbsolutePosition
ScreenObject.IgnoreParentPosition
ScreenObject.IsVisible
ScreenObject.IsEnabled
ScreenObject.IsFocused
ScreenObject.FocusedMode
ScreenObject.IsExclusiveMouse
ScreenObject.UseKeyboard
ScreenObject.UseMouse
ScreenObject.SadComponents
ScreenObject.ParentChanged
ScreenObject.PositionChanged
ScreenObject.PositionChanging
ScreenObject.IsVisibleChanged
ScreenObject.IsEnabledChanged
ScreenObject.FocusLost
ScreenObject.Focused
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.SplashScreens
Assembly: SadConsole.dll
Syntax
public class SplashScreenManager : ScreenObject, IScreenObject, IPositionable, IComponentHost

Methods

CheckRun()

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

Declaration
public static void CheckRun()

Update(TimeSpan)

Updates all SadComponents and Children.

Declaration
public override void Update(TimeSpan delta)
Parameters
Type Name Description
TimeSpan delta

The time that has elapsed since the last call.

Overrides
ScreenObject.Update(TimeSpan)
Remarks

Only processes if IsEnabled is true.

Events

SplashScreenFinished

Raised when all splash screens have finished.

Declaration
public static event EventHandler? SplashScreenFinished
Event Type
Type Description
EventHandler

Implements

IScreenObject
IPositionable
IComponentHost

Extension Methods

Keyboard.RemoveKeyboardHook(IScreenObject, Func<IScreenObject, Keyboard, bool>)
Keyboard.RemoveKeyboardHooks(IScreenObject)
Keyboard.WithKeyboard(IScreenObject, Func<IScreenObject, Keyboard, bool>)
Mouse.RemoveMouseHook(IScreenObject, Func<IScreenObject, MouseScreenObjectState, bool>)
Mouse.RemoveMouseHooks(IScreenObject)
Mouse.WithMouse(IScreenObject, Func<IScreenObject, MouseScreenObjectState, bool>)
Update.RemoveUpdateHook(IScreenObject, Action<IScreenObject, TimeSpan>)
Update.RemoveUpdateHooks(IScreenObject)
Update.WithUpdate(IScreenObject, Action<IScreenObject, TimeSpan>)
ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX