private static Double getCollisionY ( CollisionCategory category , TileCollision tileCollision , double x , double y ) { if ( Axis . Y == category . getAxis ( ) ) { return tileCollision . getCollisionY ( category , x , y ) ; } return null ; }
Get the vertical collision from current location .