Harrison
fa74bc9ae5
Created interfaces for input and output for better structure and easier testing.
18 lines
422 B
C#
18 lines
422 B
C#
using System;
|
|
|
|
namespace RecrownedGTK.Tools.CommandProcessor.Commands
|
|
{
|
|
public class ClearConsoleCommand : EngineCommand
|
|
{
|
|
public ClearConsoleCommand() : base("clear")
|
|
{
|
|
help = "Clears the console.";
|
|
}
|
|
|
|
public override void Run(IUserInput userInput, IUserOutput userOutput, string[] arguments = null)
|
|
{
|
|
userOutput.ClearOutput();
|
|
}
|
|
}
|
|
}
|