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