C# Class GraphicsEngine.Graphics.SimpleConsoleWindow

Inheritance: IConsoleWindow
Afficher le fichier Open project: ckarcz/GraphicsEngine

Méthodes publiques

Méthode Description
Clear ( byte character = null, ushort color = null ) : void
GetCharacter ( int x, int y ) : byte
GetColor ( int x, int y ) : ushort
Set ( int x, int y, byte character, ushort color ) : void
SetCharacter ( int x, int y, byte character ) : void
SetColor ( int x, int y, ushort color ) : void
SetCursor ( int x, int y ) : void
ShowCursor ( bool showCursor ) : void
SimpleConsoleWindow ( int width, int height, string windowTitle = null, ConsoleColor backgroundColor = ConsoleColor.Black, ConsoleColor foregroundColor = ConsoleColor.Cyan ) : System
Update ( ) : void

Method Details

Clear() public méthode

public Clear ( byte character = null, ushort color = null ) : void
character byte
color ushort
Résultat void

GetCharacter() public méthode

public GetCharacter ( int x, int y ) : byte
x int
y int
Résultat byte

GetColor() public méthode

public GetColor ( int x, int y ) : ushort
x int
y int
Résultat ushort

Set() public méthode

public Set ( int x, int y, byte character, ushort color ) : void
x int
y int
character byte
color ushort
Résultat void

SetCharacter() public méthode

public SetCharacter ( int x, int y, byte character ) : void
x int
y int
character byte
Résultat void

SetColor() public méthode

public SetColor ( int x, int y, ushort color ) : void
x int
y int
color ushort
Résultat void

SetCursor() public méthode

public SetCursor ( int x, int y ) : void
x int
y int
Résultat void

ShowCursor() public méthode

public ShowCursor ( bool showCursor ) : void
showCursor bool
Résultat void

SimpleConsoleWindow() public méthode

public SimpleConsoleWindow ( int width, int height, string windowTitle = null, ConsoleColor backgroundColor = ConsoleColor.Black, ConsoleColor foregroundColor = ConsoleColor.Cyan ) : System
width int
height int
windowTitle string
backgroundColor ConsoleColor
foregroundColor ConsoleColor
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void