Files renamed to RecrownedGTK.
This commit is contained in:
18
RecrownedGTK.Tools/CommandProcessor/Commands/StopCommand.cs
Normal file
18
RecrownedGTK.Tools/CommandProcessor/Commands/StopCommand.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace RecrownedGTK.Tools.CommandProcessor.Commands
|
||||
{
|
||||
internal class StopCommand : EngineCommand
|
||||
{
|
||||
CommandEngine commandEngine;
|
||||
|
||||
public StopCommand(CommandEngine commandEngine) : base("quit", "stop", "q", "exit")
|
||||
{
|
||||
this.commandEngine = commandEngine;
|
||||
help = "Exits the tool.";
|
||||
}
|
||||
|
||||
public override void Run(string[] arguments = null)
|
||||
{
|
||||
commandEngine.running = false;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user