C# Class GraphicsEngine.Graphics.SimpleConsoleWindow

Inheritance: IConsoleWindow
ファイルを表示 Open project: ckarcz/GraphicsEngine

Public Methods

Method 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 method

public Clear ( byte character = null, ushort color = null ) : void
character byte
color ushort
return void

GetCharacter() public method

public GetCharacter ( int x, int y ) : byte
x int
y int
return byte

GetColor() public method

public GetColor ( int x, int y ) : ushort
x int
y int
return ushort

Set() public method

public Set ( int x, int y, byte character, ushort color ) : void
x int
y int
character byte
color ushort
return void

SetCharacter() public method

public SetCharacter ( int x, int y, byte character ) : void
x int
y int
character byte
return void

SetColor() public method

public SetColor ( int x, int y, ushort color ) : void
x int
y int
color ushort
return void

SetCursor() public method

public SetCursor ( int x, int y ) : void
x int
y int
return void

ShowCursor() public method

public ShowCursor ( bool showCursor ) : void
showCursor bool
return void

SimpleConsoleWindow() public method

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
return System

Update() public method

public Update ( ) : void
return void