- most basic way to display(draw) an image onscreen
- can be done with either Stateless(Texture, TextureRegion) or Stateful(Sprite)
- with the Stateless(Texture, TextureRegion) approach -> you need to specify the x,y coordinates on each draw call
- with the Stateful(Sprite) approach -> the needed x,y coordinates are saved into the Sprite object itself
- most basic way to display(draw) an image onscreen
- can be done with either Stateless(Texture, TextureRegion) or Stateful(Sprite)
- with the Stateless(Texture, TextureRegion) approach -> you need to specify the x,y coordinates on each draw call
- with the Stateful(Sprite) approach -> the needed x,y coordinates are saved into the Sprite object itself
NewerOlder