code from book libgdx, canyon bunny game