Exemple #1
0
        public void Update()
        {
            //Thread.Sleep(1);
            StopMessage message = new StopMessage();

            c++;
            system.Tick();
            if (c % 10 == 0)             //send stop message every 10 updates
            {
                system.Send(message);
            }
        }