quantum-space-buddies/QSB/JellyfishSync/JellyfishManager.cs

22 lines
610 B
C#
Raw Normal View History

2021-12-24 01:07:29 +00:00
using QSB.JellyfishSync.WorldObjects;
2022-01-25 10:13:48 +00:00
using QSB.Utility;
using QSB.WorldSync;
2021-12-24 01:07:29 +00:00
using System.Collections.Generic;
namespace QSB.JellyfishSync
{
public class JellyfishManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
2021-12-14 07:37:21 +00:00
public static readonly List<JellyfishController> Jellyfish = new();
public override void BuildWorldObjects(OWScene scene)
2021-12-14 07:37:21 +00:00
{
Jellyfish.Clear();
2022-01-25 10:13:48 +00:00
Jellyfish.AddRange(QSBWorldSync.GetUnityObjects<JellyfishController>().SortDeterministic());
2021-12-18 00:26:44 +00:00
QSBWorldSync.Init<QSBJellyfish, JellyfishController>(Jellyfish);
2021-12-14 07:37:21 +00:00
}
}
}