soundvision/UnityProject/Assets/Scripts/VideoInput/ComponentFactory.cs
2019-07-07 09:39:46 +02:00

15 lines
No EOL
317 B
C#

namespace VideoInput
{
public class ComponentFactory
{
public IKinectSensor CreateKinectSensor()
{
return new KinectSensor(CreateInfraredCamera());
}
public IInfraredCamera CreateInfraredCamera()
{
return new InfraredCamera();
}
}
}