set key(s) {
    var a = s.split('-');
    this.x = parseInt(a[0]);
    this.y = parseInt(a[1]);
  }
/** set key for position will change x and y
   * @param {string} s
   */
set key for position will change x and y
@param {string} s
set key for position will change x and y @param { string } s
set key(s) {
    var a = s.split('-');
    this.x = parseInt(a[0]);
    this.y = parseInt(a[1]);
  }
set key ( s ) { var a = s . split ( '-' ) ; this . x = parseInt ( a [ 0 ] ) ; this . y = parseInt ( a [ 1 ] ) ; }
set key for position will change x and y
 @param {string} s
set key for position will change x and y @param { string } s