Example code for the libgdx tutorial