public GameInfo(string name, Comparer wndTitle, Comparer wndClass, Comparer wndFile, bool blackoutUnused, bool hideMouse, bool[] monitors) { this.name = name; this.title = wndTitle; this.className = wndClass; this.file = wndFile; this.blackoutUnused = blackoutUnused; this.hideMouse = hideMouse; this.monitors = Screen.AllScreens.ZipFilter(monitors).Select(a=>new ScreenInfo(a)).ToArray(); }
public bool IsSimilar(Comparer other) { if (IsComparable && other.IsComparable) { return pattern == other.pattern; } return false; }
public GameInfo() { name = "New Game"; title = new Comparer(true, ComparisonOperator.Equals, ""); className = new Comparer(true, ComparisonOperator.Equals, ""); file = new Comparer(true, ComparisonOperator.Equals, ""); blackoutUnused = false; hideMouse = false; monitors = new ScreenInfo[] { }; }