C# Class MBC.App.BattleshipConsole.Show

Contains functions for showing various information loaded in the application.
Afficher le fichier Open project: aiclub/Mohawk_Battleship

Méthodes publiques

Méthode Description
Config ( int idx ) : void

Shows the Configuration settings that are available and their current values to the console.

Controllers ( int idx ) : void

Shows the Core.ControllerSkeleton that has been loaded into Input

ProperLine ( int cursorLeft, string txt ) : void

Writes a string of text in the console indented at cursorLeft with no breaks in each word that is in the txt.

Method Details

Config() public static méthode

Shows the Configuration settings that are available and their current values to the console.
public static Config ( int idx ) : void
idx int The current index of the parameter stream.
Résultat void

Controllers() public static méthode

Shows the Core.ControllerSkeleton that has been loaded into Input
public static Controllers ( int idx ) : void
idx int The current index of the parameter stream.
Résultat void

ProperLine() public static méthode

Writes a string of text in the console indented at cursorLeft with no breaks in each word that is in the txt.
public static ProperLine ( int cursorLeft, string txt ) : void
cursorLeft int The column on the console to write to.
txt string A string of text that is to be written.
Résultat void