图形绘制概念
纹理Texture:普通图片如.png解码后上传到图形处理器的图片。
Texture texture = new Texture(Gdx.files.internal("image.png"));
TextureRegion tr = new TextureRegion(texture,10,5,30,40);
Sprite sprite = new Sprite(texture);sprite.setPosition(10,20);sprite.rotate = 90;
SpriteBatch sb = new SpriteBatch();sb.begin();sb.draw(texture,10,10);sb.end();