2021-12-23 17:07:29 -08:00
|
|
|
|
using QSB.JellyfishSync.WorldObjects;
|
2021-12-02 15:03:38 +00:00
|
|
|
|
using QSB.WorldSync;
|
2021-12-23 17:07:29 -08:00
|
|
|
|
using System.Collections.Generic;
|
2021-12-02 15:03:38 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.JellyfishSync
|
|
|
|
|
{
|
|
|
|
|
public class JellyfishManager : WorldObjectManager
|
|
|
|
|
{
|
2021-12-20 18:41:12 -08:00
|
|
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
|
|
|
|
|
|
2021-12-13 23:37:21 -08:00
|
|
|
|
public static readonly List<JellyfishController> Jellyfish = new();
|
|
|
|
|
|
2021-12-02 15:03:38 +00:00
|
|
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
2021-12-13 23:37:21 -08:00
|
|
|
|
{
|
|
|
|
|
Jellyfish.Clear();
|
|
|
|
|
Jellyfish.AddRange(QSBWorldSync.GetUnityObjects<JellyfishController>());
|
2021-12-17 16:26:44 -08:00
|
|
|
|
QSBWorldSync.Init<QSBJellyfish, JellyfishController>(Jellyfish);
|
2021-12-13 23:37:21 -08:00
|
|
|
|
}
|
2021-12-02 15:03:38 +00:00
|
|
|
|
}
|
|
|
|
|
}
|