Pointer constructor

Pointer(
  1. double x,
  2. double y,
  3. int button
)

Implementation

Pointer(double x, double y, int button) {
  this.x = x;
  this.y = y;
  this.button = button;
}