예제 #1
0
파일: Entity.java 프로젝트: kmeaw/ultraworm
 /** @return the Y collision offset */
 public final float getCollisionY() {
   if (isRound()) {
     return getRoundCollisionY();
   } else {
     getBounds(TEMP);
     return TEMP.getY() - getMapY() + TEMP.getHeight() * 0.5f;
   }
 }