Пример #1
0
        public BigMessageThread(bool loadInstance)
        {
            MessageInstance = new BigMessageHandler(loadInstance);

            Fiber = GameFiber.StartNew(() =>
            {
                while (true)
                {
                    GameFiber.Yield();
                    MessageInstance.Update();
                }
            });
        }
Пример #2
0
        public BigMessageThread(bool loadInstance)
        {
            MessageInstance = new BigMessageHandler(loadInstance);

            Fiber = GameFiber.StartNew(() =>
            {
                while (true)
                {
                    GameFiber.Yield();
                    MessageInstance.Update();
                }
            });
        }