public override void ClientInitialize() { ClientInputManager.RegisterButtonsEnum <AutomatonButton>(); AutomatonManager.Init(); BootstrapperClientGame.InitCallback += GameInitHandler; BootstrapperClientGame.ResetCallback += ResetHandler; }
protected override void WindowClosed() { AutomatonManager.SaveSettings(); base.WindowClosed(); }
public ClientComponentAutomaton() { featuresDictionary = AutomatonManager.GetFeaturesDictionary(); }
public ViewModelMainWindow() { AllSettings = new ObservableCollection <ViewModelSettings>( AutomatonManager.GetAllSettings().Select(s => new ViewModelSettings(s))); AutomatonManager.IsEnabledChanged += OnIsEnabledChanged; }
public ViewModelAutomatonSettings() { Features = AutomatonManager.GetFeatures(); AutomatonManager.IsEnabledChanged += () => NotifyPropertyChanged(nameof(IsEnabled)); }