Learning to use the libgdx api.