Exemple #1
0
        public void Play(int times = 1)
        {
            WillPlay.Raise(this, new BowlPlayerEventArgs(times));

            PlayThread = Platform.CreateWorkerThread(() => ThreadPlay(times));
            PlayThread.Start();
        }
 public void Start()
 {
     UpdateThreadWaiter        = Platform.GetThreadEvent();
     UpdateThread              = Platform.CreateWorkerThread(TimerLoop);
     UpdateThread.IsBackground = true;
     UpdateThread.Start();
 }