Spicy Invaders v.1.0.0
A TUI Space Invader
Loading...
Searching...
No Matches
Ch.Etml.Utils.Console2 Class Reference

Extensions for the Console class. More...

Static Public Member Functions

static void WriteLineCenter (string text)
 Writes a line of text centered horizontally to the console.
 
static void WriteLineCenterLarge (string text)
 Writes a multi-line text centered horizontally to the console.
 

Static Private Attributes

const int HALF = 2
 Used to halve values.
 
const string WHITESPACE = "\n\n"
 Whitespace that follows large texts.
 

Detailed Description

Extensions for the Console class.

Member Function Documentation

◆ WriteLineCenter()

static void Ch.Etml.Utils.Console2.WriteLineCenter ( string text)
static

Writes a line of text centered horizontally to the console.

Parameters
textText to center.

◆ WriteLineCenterLarge()

static void Ch.Etml.Utils.Console2.WriteLineCenterLarge ( string text)
static

Writes a multi-line text centered horizontally to the console.

Parameters
textA multi-line text.

Member Data Documentation

◆ HALF

const int Ch.Etml.Utils.Console2.HALF = 2
staticprivate

Used to halve values.

◆ WHITESPACE

const string Ch.Etml.Utils.Console2.WHITESPACE = "\n\n"
staticprivate

Whitespace that follows large texts.


The documentation for this class was generated from the following file: