public override void Initialize() { Textures = new Textures(); Textures.Load(); backgroundArea = new BackgroundArea(this); GameArea = new GameArea(this); StatisticsArea = new StatisticsArea(this, GameArea); MainObject = new MainObject(this, new Vector2f(500, 500)); SliceOfLifeBase = new SliceOfLife1(this, MainObject); StatisticsView = new StatisticsView(this); backgroundArea.Initialize(); GameArea.Initialize(); StatisticsArea.Initialize(); StatisticsView.Initialize(); MainObject.Initialize(); SliceOfLifeBase.Initialize(); }
public override int GetHashCode() { unchecked { int result = base.GetHashCode(); result = (result * 397) ^ (MassError.HasValue ? MassError.Value.GetHashCode() : 0); result = (result * 397) ^ RetentionTime.GetHashCode(); result = (result * 397) ^ StartRetentionTime.GetHashCode(); result = (result * 397) ^ EndRetentionTime.GetHashCode(); result = (result * 397) ^ Area.GetHashCode(); result = (result * 397) ^ BackgroundArea.GetHashCode(); result = (result * 397) ^ Height.GetHashCode(); result = (result * 397) ^ Fwhm.GetHashCode(); result = (result * 397) ^ IsFwhmDegenerate.GetHashCode(); result = (result * 397) ^ Identified.GetHashCode(); result = (result * 397) ^ (IsTruncated.HasValue ? IsTruncated.Value.GetHashCode() : 0); result = (result * 397) ^ Rank; result = (result * 397) ^ Ratios.GetHashCodeDeep(); result = (result * 397) ^ OptimizationStep.GetHashCode(); result = (result * 397) ^ Annotations.GetHashCode(); result = (result * 397) ^ UserSet.GetHashCode(); return(result); } }