public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left) { _sides = new[] { top, right, bottom, left }; _id = Guid.NewGuid(); }
public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left, Guid id) { _id = id; _sides = new[] { top, right, bottom, left }; }
public bool Equals(ProfessorCheckerSideConfig other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._bodyPart, _bodyPart) && Equals(other._color, _color); }