Example #1
0
 public Picture(String fileName, int x, int y) {
   this(LTextures.loadTexture(fileName), x, y);
 }
Example #2
0
 public SpriteBatchSheet(String fileName, int hFrames, int vFrames, float r) {
   this(LTextures.loadTexture(fileName), hFrames, vFrames, r);
 }
Example #3
0
 public void setImage(String fileName) {
   this.image = LTextures.loadTexture(fileName);
   this.width = (int) image.width();
   this.height = (int) image.height();
 }
Example #4
0
	@Override
	protected void loadContent() {
		super.loadContent();
		this.font = LFont.getFont(12);
		this.texture = LTextures.loadTexture(this.textureFile);
	}