1
0
Fork 0

Last GGL commit

This commit is contained in:
MrDev023 2017-01-23 16:22:01 +01:00
parent bcaa063263
commit cf97742219
31 changed files with 857 additions and 160 deletions

View file

@ -86,9 +86,16 @@ public abstract class Tile {
}
public void setTexture(Texture texture) {
this.texture.destroy();
this.texture = texture;
}
public void setTexture(String path) {
this.setTexture(Texture.loadTexture(path));
}
public Color4f getColor() {
return color;
}