isSameAs method

bool isSameAs(
  1. int x,
  2. int y
)

Implementation

bool isSameAs(int x, int y){
  return this.x == x && this.y == y;
}