Example #1
0
        public BigMessageThread(bool loadInstance)
        {
            MessageInstance = new BigMessageHandler(loadInstance);

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

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