working through a tutorial for libgdx