Skip to content

Settings Class

Various settings for SadConsole.

C#
public static class Settings

Inheritance object

Gets and sets the default value for UseKeyboard when the console is created.

C#
public static bool DefaultConsoleUseKeyboard

Gets and sets the default value for UseKeyboard.

C#
public static bool DefaultScreenObjectUseKeyboard

Gets and sets the default value for UseMouse.

C#
public static bool DefaultScreenObjectUseMouse

The color to automatically clear the device with.

C#
public static Color ClearColor

The type of resizing options for the window.

C#
public static Settings.WindowResizeOptions ResizeMode

Allow the user to resize the window. Must be set before the game is created.

C#
public static bool AllowWindowResize

When true, indicates that the game loop should call Render(TimeSpan) on each object in Screen.

C#
public static bool DoDraw

When true, indicates that any game framework should render a composed image, of all consoles, to the screen.

C#
public static bool DoFinalDraw

When true, indicates that the game loop should call Update(TimeSpan) on each object in Screen.

C#
public static bool DoUpdate

When not set to (0,0) this property specifies the minimum size of the game window in pixels.

C#
public static Point WindowMinimumSize { get; set; }

When set to true, all loading and saving performed by SadConsole uses GZIP. LoadFont(string) does not use this setting and always runs uncompressed.

C#
public static bool SerializationIsCompressed { get; set; }

When set to true, and a font is not specified with the GameHost, the IBM 8x16 extended SadConsole font will be used.

C#
public static bool UseDefaultExtendedFont { get; set; }

The window title to display when the app is windowed.

C#
public static string WindowTitle { get; set; }

The identifier of the named pipe used to communicate with the in game debugger app.

C#
public static string DebuggerPipeId { get; }

Automatically adds all of the static color declarations of SadRogue.Primitives.Color to ColorMappings.

C#
public static bool AutomaticAddColorsToMappings { get; set; }