libgdx sample code