build/app.js
/**
   * Determines Inky's target, which is a mirror image of Blinky's position
   * reflected across a point two tiles in front of Pacman's direction.
   * Example @ app\style\graphics\spriteSheets\references\inky_target.png
   * @param {({x: number, y: number})} pacmanGridPosition
   * @returns {({x: number, y: number})}
   */
Determines Inky's target, which is a mirror image of Blinky's position
reflected across a point two tiles in front of Pacman's direction.
Determines Inky ' s target which is a mirror image of Blinky ' s position reflected across a point two tiles in front of Pacman ' s direction .
determineInkyTarget(pacmanGridPosition) {
    const blinkyGridPosition = this.characterUtil.determineGridPosition(
      this.blinky.position, this.scaledTileSize,
    );
    const pivotPoint = this.getPositionInFrontOfPacman(
      pacmanGridPosition, 2,
    );
    return {
      x: pivotPoint.x + (pivotPoint.x - blinkyGridPosition.x),
      y: pivotPoint.y + (pivotPoint.y - blinkyGridPosition.y),
    };
  }
determineInkyTarget ( pacmanGridPosition ) { const blinkyGridPosition = this . characterUtil . determineGridPosition ( this . blinky . position , this . scaledTileSize , ) ; const pivotPoint = this . getPositionInFrontOfPacman ( pacmanGridPosition , 2 , ) ; return { x : pivotPoint . x + ( pivotPoint . x - blinkyGridPosition . x ) , y : pivotPoint . y + ( pivotPoint . y - blinkyGridPosition . y ) , } ; }
Determines Inky's target, which is a mirror image of Blinky's position
 reflected across a point two tiles in front of Pacman's direction.
Determines Inky ' s target which is a mirror image of Blinky ' s position reflected across a point two tiles in front of Pacman ' s direction .