quantum-space-buddies/QSB/JellyfishSync/JellyfishManager.cs
2022-01-25 02:34:15 -08:00

22 lines
610 B
C#

using QSB.JellyfishSync.WorldObjects;
using QSB.Utility;
using QSB.WorldSync;
using System.Collections.Generic;
namespace QSB.JellyfishSync
{
public class JellyfishManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
public static readonly List<JellyfishController> Jellyfish = new();
public override void BuildWorldObjects(OWScene scene)
{
Jellyfish.Clear();
Jellyfish.AddRange(QSBWorldSync.GetUnityObjects<JellyfishController>().SortDeterministic());
QSBWorldSync.Init<QSBJellyfish, JellyfishController>(Jellyfish);
}
}
}