Entity take float in constructor instead of int

This commit is contained in:
Matt Low 2018-11-12 09:27:29 +04:00
parent 353afe1cee
commit 28e0ed27f3

View File

@ -10,7 +10,7 @@ public abstract class Entity {
private BrickBuster brickBuster;
private Vector2 pos;
public Entity(BrickBuster brickBuster, int x, int y) {
public Entity(BrickBuster brickBuster, float x, float y) {
this.shapeRenderer = new ShapeRenderer();
this.brickBuster = brickBuster;
this.pos = new Vector2(x, y);