15 lines
510 B
C#
Raw Normal View History

2022-01-28 20:49:07 -08:00
using Cysharp.Threading.Tasks;
using QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
2021-11-08 20:55:53 +00:00
using QSB.WorldSync;
2022-01-28 20:49:07 -08:00
using System.Threading;
2021-11-08 20:55:53 +00:00
namespace QSB.EchoesOfTheEye.LightSensorSync
2021-11-08 20:55:53 +00:00
{
internal class LightSensorManager : WorldObjectManager
{
// see AirlockManager question
public override WorldObjectScene WorldObjectScene => WorldObjectScene.SolarSystem;
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) => QSBWorldSync.Init<QSBLightSensor, SingleLightSensor>();
}
}