30 lines
867 B
C#
30 lines
867 B
C#
using System;
|
|
#pragma warning disable IDE0130
|
|
|
|
namespace CPSO.Commands
|
|
{
|
|
[Serializable]
|
|
class CClear : PreprocessCommand
|
|
{
|
|
// Variables
|
|
|
|
// Constructor
|
|
public CClear()
|
|
: base("Clear")
|
|
{
|
|
}
|
|
|
|
// Methods
|
|
public override bool Execute(Controller receiver)
|
|
{
|
|
receiver.Clear();
|
|
return true;
|
|
}
|
|
|
|
public override string GetCommandString()
|
|
{
|
|
return base.GetCommandString();
|
|
}
|
|
}
|
|
}
|