示例#1
0
        public void BroadcastWorldUpdate()
        {
            WorldBroadcastsPerSecond++;
            var startTime = DateTime.Now;

            //Console.WriteLine($"Sent game event at {startTime}");
            _eventSender.SendEvent(ServerEvent.WorldUpdate, _game.GetWorldDto(), null);
            _botController.DoUpdate(_game.GetPlayers(), _game.GetArena());
        }