Esempio n. 1
0
 /** @return the Y collision offset */
 public final float getCollisionY() {
   if (isRound()) {
     return getRoundCollisionY();
   } else {
     getBounds(TEMP);
     return TEMP.getY() - getMapY() + TEMP.getHeight() * 0.5f;
   }
 }