示例#1
0
        protected override void Initialize()
        {
            base.Initialize();

            _mouse = new MouseInput();
            _referenceLine = new ReferenceLine(_mouse, _pixel, _stubTexture);
        }
 public ReferenceLine(MouseInput mouse, Texture2D pixelTexture, Texture2D stubTexture)
 {
     _mouse = mouse;
     _pixelTexture = pixelTexture;
     _stubTexture = stubTexture;
 }