예제 #1
0
파일: Entity.java 프로젝트: kmeaw/ultraworm
 /** @return the X collision offset */
 public final float getCollisionX() {
   if (isRound()) {
     return getRoundCollisionX();
   } else {
     getBounds(TEMP);
     return TEMP.getX() - getMapX() + TEMP.getWidth() * 0.5f;
   }
 }