public void Undo(EditorController ec) { ec.DoAddLine(sx, sy); foreach (var c in commands) { c.Undo(ec); } }
public void Redo(EditorController ec) { ec.DoAddLine(sx, sy); }