public MainLoopTimer()
 {
     if(PlatformDetector.DetectPlatform() == Platform.Windows)
         mainLoopTimer = new TimerQueue();
     else
         mainLoopTimer = new TimerMainLoopTimer();
 }
示例#2
0
 public MainLoopTimer()
 {
     if (PlatformDetector.DetectPlatform() == Platform.Windows)
     {
         mainLoopTimer = new TimerQueue();
     }
     else
     {
         mainLoopTimer = new TimerMainLoopTimer();
     }
 }