mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 16:33:43 -04:00
Add initial API & Configuration
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System.Collections.ObjectModel;
|
||||
namespace Botanist;
|
||||
|
||||
using Observatory.Framework;
|
||||
using Observatory.Framework.Files.Journal;
|
||||
using Observatory.Framework.Files.Journal.Exploration;
|
||||
@ -8,7 +9,6 @@ using Observatory.Framework.Files.Journal.Startup;
|
||||
using Observatory.Framework.Files.Journal.Travel;
|
||||
using Observatory.Framework.Files.ParameterTypes;
|
||||
|
||||
namespace Botanist;
|
||||
|
||||
public class Botanist : IObservatoryWorker
|
||||
{
|
||||
@ -77,8 +77,6 @@ public class Botanist : IObservatoryWorker
|
||||
|
||||
private const int DEFAULT_COLONY_DISTANCE = 100;
|
||||
|
||||
ObservableCollection<object> GridCollection;
|
||||
private PluginUI pluginUI;
|
||||
private Guid? samplerStatusNotification;
|
||||
|
||||
private BotanistSettings botanistSettings = new()
|
||||
@ -93,8 +91,6 @@ public class Botanist : IObservatoryWorker
|
||||
|
||||
public string Version => typeof(Botanist).Assembly.GetName().Version.ToString();
|
||||
|
||||
public PluginUI PluginUI => pluginUI;
|
||||
|
||||
public object Settings
|
||||
{
|
||||
get => botanistSettings;
|
||||
@ -246,12 +242,6 @@ public class Botanist : IObservatoryWorker
|
||||
|
||||
public void Load(IObservatoryCore observatoryCore)
|
||||
{
|
||||
GridCollection = new();
|
||||
BotanistGrid uiObject = new();
|
||||
|
||||
GridCollection.Add(uiObject);
|
||||
pluginUI = new PluginUI(GridCollection);
|
||||
|
||||
BioPlanets = new();
|
||||
|
||||
Core = observatoryCore;
|
||||
|
Reference in New Issue
Block a user