1
0
Fork 0
This commit is contained in:
MrDev023 2017-01-21 19:08:16 +01:00
parent ec64df0eec
commit de8b0708c7
17 changed files with 434 additions and 136 deletions

View file

@ -21,9 +21,9 @@ public class Player extends PhysicalEntity {
private final PhysicalEntity brosse;
private final float longueurBalai;
public Player(float x, float y){
public Player(String path, float x, float y){
super(x, y, 0, 0, 3, 0, 0, 10);
this.tile = new PlayerTile("res/textures/perso.png", x, y);
this.tile = new PlayerTile(path, x, y);
this.setSizeXY(this.tile.getTexture().width, this.tile.getTexture().height);