soundvision/UnityProject/Assets/Scripts/VideoInput/ComponentFactory.cs

16 lines
325 B
C#
Raw Normal View History

2019-10-31 09:43:47 +00:00
namespace cylvester
{
2019-07-07 07:39:46 +00:00
public class ComponentFactory
{
public IKinectSensor CreateKinectSensor()
{
return new KinectSensor(CreateInfraredCamera());
}
public IInfraredCamera CreateInfraredCamera()
{
return new InfraredCamera();
}
2019-10-31 09:43:47 +00:00
}
}