C# Class GameCommon.ProgressBar

Show file Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
DrawProgress ( int percentage ) : void
DrawProgress ( int percentage, char progressBarCharacter, ConsoleColor color ) : void
ProgressBar ( ) : System

Private Methods

Method Description
OnTick ( object state ) : void
Start ( ) : void
Stop ( ) : void

Method Details

DrawProgress() public static method

public static DrawProgress ( int percentage ) : void
percentage int
return void

DrawProgress() public static method

public static DrawProgress ( int percentage, char progressBarCharacter, ConsoleColor color ) : void
percentage int
progressBarCharacter char
color ConsoleColor
return void

ProgressBar() public method

public ProgressBar ( ) : System
return System