1
0
Fork 0

Add gradle project

This commit is contained in:
Florian RICHER 2018-11-14 11:57:24 +01:00
parent cf97742219
commit b7bd35c153
No known key found for this signature in database
GPG key ID: 0C257F73A2A5D56C
69 changed files with 225 additions and 18 deletions

View file

@ -0,0 +1,26 @@
package globalgamejam.game;
import globalgamejam.physics.PhysicalEntity;
import globalgamejam.tiles.CoffreTile;
import globalgamejam.tiles.Tile;
public class Coffre extends PhysicalEntity {
private final Tile tile;
public Coffre(String texturePath, float x, float y){
super(x, y, 0, 0, 0, 0, 0, 0);
this.tile = new CoffreTile(texturePath, x, y);
this.setSizeXY(this.tile.getTexture().width, this.tile.getTexture().height);
}
public Tile getTile(){
return this.tile;
}
public void makeEffect(int numPlayerHitCoffre){
}
}