Entity take float in constructor instead of int
This commit is contained in:
parent
353afe1cee
commit
28e0ed27f3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user