AjoutVague
This commit is contained in:
parent
780149da46
commit
e2347fe0f1
2 changed files with 52 additions and 19 deletions
|
@ -1,10 +1,14 @@
|
|||
package globalgamejam.tiles;
|
||||
|
||||
import globalgamejam.math.Color4f;
|
||||
import globalgamejam.math.Vector2f;
|
||||
|
||||
public class Objet extends Tile {
|
||||
public Objet(){
|
||||
public Objet(int x,int y){
|
||||
super();
|
||||
super.setColor(Color4f.GREEN);
|
||||
super.setColor(Color4f.RED);
|
||||
super.setPosition(new Vector2f(x, y));
|
||||
super.setScale(new Vector2f(10, 10));
|
||||
super.applyTransform();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue