/*--- Method: Initialization ----------------------------------------------------------------------------------------------------------------------------------*/ /// <summary> モジュールの初期化を実行します。 /// </summary> /// <returns> 正常終了時 True </returns> private bool initModule() { this.CurrentCombatTimer = new DispatcherTimer(DispatcherPriority.Render); this.AutoLoadTimer = new DispatcherTimer(); this.CurrentCombatRelativeClock = new RelativeClock(false); this.soundPlayProcess = new SoundPlayProcess(); return(true); }
public TimelineController() { timer = new Timer(); timer.Tick += (object sender, EventArgs e) => { Synchronize(); }; timer.Interval = 50; timer.Start(); relativeClock = new RelativeClock(); Paused = true; ActGlobals.oFormActMain.OnLogLineRead += act_OnLogLineRead; }
public TimelineController() { timer = new Timer(); timer.Tick += (object sender, EventArgs e) => { Synchronize(); }; timer.Interval = 50; timer.Start(); relativeClock = new RelativeClock(true); Paused = true; ActGlobals.oFormActMain.OnLogLineRead += act_OnLogLineRead; }