public FlightSimulator() : base() { //ダブルバッファリング設定 SetStyle(ControlStyles.DoubleBuffer, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); version = "Ver.1.1 2003.11.04"; eh = new EventHandler(); tp = new TimeParam(); simIF = new SimulatorInterface(); recorder = new Recorder(); fps = new FPS(); }
public void SetPSetting(TimeParam tp) { tp.dt = dt[selectedSetting]; tp.t_disp = t_disp[selectedSetting]; tp.t_record = t_record[selectedSetting]; }