///
/// The Clear command is used to clear the players terminal screen of all text.
///
public class CommandClear : BaseCommand
{
///
/// Constructor for the class.
///
public CommandClear()
{
Help.Add("The Clear command is used to clear the screen of all text.");
}
///
/// Constructor for the class.
///
public override void Execute(String command, BaseCharacter player)
{
//Call the flush method to clear the players console screen of all text.
player.FlushConsole();
}
}