Module

I’m convinced getCenterX/Y doesn’t exist with the latest libGdx:
consult the javadocs
http://libgdx.badlogicgames.com/nightlies/docs/api/

The alternative is to either explicitly use getX() + getWidth()/2 or to
set the origin and use getOriginX() and co.