muddesigner/MudGame/Scripts/PlayerCommands/CommandClear.cs
Budoray_cp cd68f3d042
2011-09-18 12:51:20 -07:00

22 lines
No EOL
623 B
C#

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