publicstaticGraphicsDeviceManagerGraphicsDeviceManager{set{graphicsDeviceManager=value;}get{if(graphicsDeviceManager==null)thrownewInvalidOperationException("Graphics device manager property requested as substitute but configuration does not have one.");returngraphicsDeviceManager;}}
publicstaticCamera2DCamera2D{set{camera2D=value;}get{if(camera2D==null)thrownewInvalidOperationException("2D camera property requested as substitute but configuration does not have one.");returncamera2D;}}
publicstaticSpriteBatchSettings?spriteBatchSettings{set{beginBatchFunction=value.Value;}get{if(!beginBatchFunction.HasValue)thrownewInvalidOperationException("No default begin batch has been set yet has been requested.");returnbeginBatchFunction;}}