internal Command SetCommand(Command command) { if (currentCommand != null) { console.WriteLine("Serious error."); } currentCommand = command; return command; }