Last GGL commit
This commit is contained in:
parent
bcaa063263
commit
cf97742219
31 changed files with 857 additions and 160 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue