private static int getOffsetY ( Collision collision , Mirror mirror ) { if ( mirror == Mirror . VERTICAL ) { return - collision . getOffsetY ( ) ; } return collision . getOffsetY ( ) ; }
Get the vertical offset .