Exemplo n.º 1
0
		public MouseWheelEventArgs(MouseInput inputChannel, int x, int y, int value, int delta) : base(inputChannel, x, y)
		{
			this.wheelValue = value;
			this.wheelDelta = delta;
		}
Exemplo n.º 2
0
		public MouseMoveEventArgs(MouseInput inputChannel, int x, int y, int deltaX, int deltaY) : base(inputChannel, x, y)
		{
			this.deltaX = deltaX;
			this.deltaY = deltaY;
		}
Exemplo n.º 3
0
		public MouseButtonEventArgs(MouseInput inputChannel, int x, int y, MouseButton button, bool pressed) : base(inputChannel, x, y)
		{
			this.button = button;
			this.pressed = pressed;
		}
Exemplo n.º 4
0
		public MouseEventArgs(MouseInput inputChannel, int x, int y) : base(inputChannel)
		{
			this.x = x;
			this.y = y;
		}
Exemplo n.º 5
0
 public MouseWheelEventArgs(MouseInput inputChannel, Vector2 pos, float value, float delta) : base(inputChannel, pos)
 {
     this.wheelValue = value;
     this.wheelSpeed = delta;
 }
Exemplo n.º 6
0
 public MouseButtonEventArgs(MouseInput inputChannel, Vector2 pos, MouseButton button, bool pressed) : base(inputChannel, pos)
 {
     this.button  = button;
     this.pressed = pressed;
 }
Exemplo n.º 7
0
 public MouseMoveEventArgs(MouseInput inputChannel, Vector2 pos, Vector2 vel) : base(inputChannel, pos)
 {
     this.vel = vel;
 }
Exemplo n.º 8
0
 public MouseEventArgs(MouseInput inputChannel, Vector2 pos) : base(inputChannel)
 {
     this.pos = pos;
 }