Esempio n. 1
0
        public void Stop()
        {
            Navigator.PlayerMover = new NullMover();
            var g = Navigator.NavigationProvider as GaiaNavigator;

            g?.Dispose();
            Navigator.NavigationProvider = new NullProvider();
            _root = null;

            HotkeyManager.UnregisterAllHotkeys();
            TreeRoot.TicksPerSecond = 30;
        }
Esempio n. 2
0
        public void Start()
        {
            if (Navigator.NavigationProvider == null)
            {
                Navigator.NavigationProvider = new GaiaNavigator();
            }

            Navigator.PlayerMover = new SlideMover();
            Logger.SyntgohtLog(@"Starting Syntgoht!");

            HotkeyManager.RegisterHotkeys();

            TreeRoot.TicksPerSecond = 1;
        }