示例#1
0
        public void Handle(IEvent @event)
        {
            string     currentSystem = _playerStatus.Location;
            StarSystem system        = _navigator.GetSystem(currentSystem);

            if (system == null)
            {
                _communicator.Communicate(_skipPhrases.GetRandomPhrase());
                return;
            }

            Celestial nextToScan = _navigator.GetNextCelestial(system);

            _communicator.Communicate(BuildScript(nextToScan));
        }