Пример #1
0
        public void ExecuteActions(World world)
        {
            while (_queue.Count > 0)
            {
                var action = _queue.Dequeue();
                action.Execute(world);
                _worldView.Animate(action.X, action.Y, action.AniRange, action.AniNeumann);
            }

            foreach (var godAction in _actions)
            {
                godAction.Tick();
            }

            _selector.UpdateView();
        }