Example #1
0
 public int getY() {
   return (int) itemSprite.getPosition().y;
 };
Example #2
0
 public int getX() {
   return (int) itemSprite.getPosition().x;
 }; // for collison dector