Пример #1
0
 protected bool Equals(Tile other)
 {
     return(IsActive.Equals(other.IsActive) &&
            Type == other.Type &&
            TileColor == other.TileColor &&
            U == other.U && V == other.V &&
            LiquidType.Equals(other.LiquidType) &&
            LiquidAmount == other.LiquidAmount &&
            Wall == other.Wall &&
            WallColor == other.WallColor &&
            WireRed.Equals(other.WireRed) &&
            WireGreen.Equals(other.WireGreen) &&
            WireBlue.Equals(other.WireBlue) &&
            BrickStyle.Equals(other.BrickStyle) &&
            BrickStyle == other.BrickStyle &&
            Actuator.Equals(other.Actuator) &&
            InActive.Equals(other.InActive));
 }