Ajout de fond
This commit is contained in:
parent
9e5d6a03c3
commit
40ac8f84fb
6 changed files with 67 additions and 7 deletions
11
src/globalgamejam/tiles/Fond.java
Normal file
11
src/globalgamejam/tiles/Fond.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package globalgamejam.tiles;
|
||||
|
||||
import globalgamejam.render.Texture;
|
||||
|
||||
public class Fond extends Tile {
|
||||
public Fond(String path){
|
||||
super();
|
||||
|
||||
super.setTexture(Texture.loadTexture(path));
|
||||
}
|
||||
}
|
10
src/globalgamejam/tiles/Objet.java
Normal file
10
src/globalgamejam/tiles/Objet.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package globalgamejam.tiles;
|
||||
|
||||
import globalgamejam.math.Color4f;
|
||||
|
||||
public class Objet extends Tile {
|
||||
public Objet(){
|
||||
super();
|
||||
super.setColor(Color4f.GREEN);
|
||||
}
|
||||
}
|
Reference in a new issue