C# Class MBC.App.Terminal.Controls.StringInputControl

Inheritance: UserControl
Show file Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method Description
Input ( string txt ) : void
KeyPress ( ConsoleKeyInfo key ) : bool
StringInputControl ( string placeholder ) : System

Private Methods

Method Description
Update ( ) : void

Method Details

Input() public method

public Input ( string txt ) : void
txt string
return void

KeyPress() public method

public KeyPress ( ConsoleKeyInfo key ) : bool
key System.ConsoleKeyInfo
return bool

StringInputControl() public method

public StringInputControl ( string placeholder ) : System
placeholder string
return System