public override bool Equals(object obj) { // Check for null values and compare run-time types. if (obj == null || GetType() != obj.GetType()) { return(false); } AbsoluteEntityCell cell = (AbsoluteEntityCell)obj; return(cell.BatchId.x == BatchId.x && cell.BatchId.y == BatchId.y && cell.BatchId.z == BatchId.z && cell.CellId.x == CellId.x && cell.CellId.y == CellId.y && cell.CellId.z == CellId.z); }
public VisibleCell(AbsoluteEntityCell absoluteCellEntity, int level) { AbsoluteCellEntity = absoluteCellEntity; Level = level; }