ChessPos constructor

ChessPos(
  1. int x,
  2. int y
)

constructor pos by x and y

Implementation

ChessPos(this.x, this.y);