Ansi1 Class
Definition
Section titled “Definition”A simple splashscreen that fades in a screen specifying “Powered by SadConsole”.
public class Ansi1 : ScreenSurface, IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResizeInheritance object → ScreenObject → ScreenSurface
Implements IDisposable, IScreenSurfaceEditable, IScreenSurface, IScreenObject, SadRogue.Primitives.IPositionable, IComponentHost, ISurface, ISurfaceSettable, ICellSurfaceResize
Constructors
Section titled “Constructors”Ansi1(IFont, Sizes)
Section titled “Ansi1(IFont, Sizes)”Creates the ansi splash screen using the specified font and size.
public Ansi1(IFont font, IFont.Sizes fontSize)Parameters
Section titled “Parameters”font IFont
The font to use.
fontSize IFont.Sizes
The font size to use.
Ansi1(Sizes)
Section titled “Ansi1(Sizes)”Creates the ansi splash screen using the EmbeddedFont and the specified font size.
public Ansi1(IFont.Sizes fontSize)Parameters
Section titled “Parameters”fontSize IFont.Sizes
The size of font to use.
Ansi1()
Section titled “Ansi1()”Creates the ansi splash screen using the EmbeddedFont and a font size of One.
public Ansi1()Methods
Section titled “Methods”ProcessKeyboard(Keyboard)
Section titled “ProcessKeyboard(Keyboard)”Ends the animation when a key is pressed.
public override bool ProcessKeyboard(Keyboard keyboard)Parameters
Section titled “Parameters”keyboard Keyboard
The keyboard state.
Returns
Section titled “Returns”bool
The base implementation of the keyboard.