private RecordManager() { MasterPath = @"Record"; EnemyFleet = new EnemyFleetRecord(); ShipParameter = new ShipParameterRecord(); Construction = new ConstructionRecord(); ShipDrop = new ShipDropRecord(); Development = new DevelopmentRecord(); Resource = new ResourceRecord(); if ( !Directory.Exists( MasterPath ) ) { Directory.CreateDirectory( MasterPath ); } }
private RecordManager() { MasterPath = @"Record"; EnemyFleet = new EnemyFleetRecord(); ShipParameter = new ShipParameterRecord(); Construction = new ConstructionRecord(); ShipDrop = new ShipDropRecord(); Development = new DevelopmentRecord(); Resource = new ResourceRecord(); if ( !Directory.Exists( MasterPath ) ) { Directory.CreateDirectory( MasterPath ); } _prevTime = DateTime.Now; Observer.APIObserver.Instance["api_port/port"].ResponseReceived += TimerSave; }
public DialogDevelopmentRecordViewer() { InitializeComponent(); _record = RecordManager.Instance.Development; }
private string GetRecipeStringForSorting( DevelopmentRecord.DevelopmentElement record ) { return GetRecipeStringForSorting( new int[] { record.Fuel, record.Ammo, record.Steel, record.Bauxite } ); }