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-09 19:39:56 +00:00
|
|
|
|
internal class LightSensorManager : WorldObjectManager
|
2021-11-08 20:55:53 +00:00
|
|
|
|
{
|
2021-12-20 20:21:44 -08:00
|
|
|
|
// see AirlockManager question
|
2021-12-20 18:41:12 -08:00
|
|
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.SolarSystem;
|
|
|
|
|
|
2022-01-28 20:50:34 -08:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) => QSBWorldSync.Init<QSBSingleLightSensor, SingleLightSensor>();
|
2021-11-08 20:55:53 +00:00
|
|
|
|
}
|
|
|
|
|
}
|