2019-10-31 09:43:47 +00:00
|
|
|
namespace cylvester
|
2019-07-06 22:17:26 +00:00
|
|
|
{
|
2019-10-31 09:43:47 +00:00
|
|
|
|
|
|
|
public interface IKinectSensor : IUpdater
|
2019-07-06 22:17:26 +00:00
|
|
|
{
|
|
|
|
IInfraredCamera InfraredCamera { get; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class KinectSensor : IKinectSensor
|
|
|
|
{
|
|
|
|
public IInfraredCamera InfraredCamera { get; }
|
|
|
|
|
|
|
|
public KinectSensor(IInfraredCamera infraredCamera)
|
|
|
|
{
|
|
|
|
InfraredCamera = infraredCamera;
|
|
|
|
}
|
|
|
|
|
2019-07-07 07:39:46 +00:00
|
|
|
public void Update()
|
|
|
|
{
|
|
|
|
InfraredCamera.Update();
|
|
|
|
}
|
2019-07-06 22:17:26 +00:00
|
|
|
}
|
|
|
|
}
|