C# Class MBC.App.Terminal.Layouts.NoLayout

The NoLayout class is created to provide an empty layout for TerminalModules that do not contain UserControls.
Inheritance: ControlLayout
Show file Open project: aiclub/Mohawk_Battleship

Public Methods

Method Description
Input ( string input ) : void
KeyPressed ( ConsoleKeyInfo key ) : bool

Protected Methods

Method Description
DrawAllUnselected ( ) : void
DrawSelected ( UserControl ctrl ) : void
DrawUnselected ( UserControl ctrl ) : void

Method Details

DrawAllUnselected() protected method

protected DrawAllUnselected ( ) : void
return void

DrawSelected() protected method

protected DrawSelected ( UserControl ctrl ) : void
ctrl MBC.App.Terminal.Controls.UserControl
return void

DrawUnselected() protected method

protected DrawUnselected ( UserControl ctrl ) : void
ctrl MBC.App.Terminal.Controls.UserControl
return void

Input() public method

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

KeyPressed() public method

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