public ExtendedOpenTkClient(ClientConfiguration config, OpenTKRsGraphicsContext graphicsObject, IFactoryCreateable <OpenTKImageProducer, ImageProducerFactoryCreationContext> imageProducerFactory, IBufferFactory bufferFactory) : base(config, graphicsObject, imageProducerFactory, bufferFactory) { LocalPlayerWalkingQueue = new Queue <Vector2 <int> >(10); }
public OpenTKClient(ClientConfiguration config, OpenTKRsGraphicsContext graphicsObject, IFactoryCreateable <OpenTKImageProducer, ImageProducerFactoryCreationContext> imageProducerFactory, IBufferFactory bufferFactory) : base(config, bufferFactory) { if (config == null) { throw new ArgumentNullException(nameof(config)); } GraphicsObject = graphicsObject ?? throw new ArgumentNullException(nameof(graphicsObject)); ImageProducerFactory = imageProducerFactory ?? throw new ArgumentNullException(nameof(imageProducerFactory)); }