Skip to content

Ansi1 Class

A simple splashscreen that fades in a screen specifying “Powered by SadConsole”.

C#
public class Ansi1 : ScreenSurface, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResize

Inheritance objectScreenObjectScreenSurface

Implements IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, SadRogue.Primitives.IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResize

Creates the ansi splash screen using the specified font and size.

C#
public Ansi1(IFont font, IFont.Sizes fontSize)

font IFont
The font to use.

fontSize IFont.Sizes
The font size to use.

Creates the ansi splash screen using the EmbeddedFont and the specified font size.

C#
public Ansi1(IFont.Sizes fontSize)

fontSize IFont.Sizes
The size of font to use.

Creates the ansi splash screen using the EmbeddedFont and a font size of One.

C#
public Ansi1()

Ends the animation when a key is pressed.

C#
public override bool ProcessKeyboard(Keyboard keyboard)

keyboard Keyboard
The keyboard state.

bool
The base implementation of the keyboard.