Code from Java Day South Africa 2014 talk on building games with LibGDX.