예제 #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();
                }
            });
        }