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