Esempio n. 1
0
 /** @return the X collision offset */
 public final float getCollisionX() {
   if (isRound()) {
     return getRoundCollisionX();
   } else {
     getBounds(TEMP);
     return TEMP.getX() - getMapX() + TEMP.getWidth() * 0.5f;
   }
 }