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