From 28e0ed27f3a784382bbeef8d72dfb748e18265ce Mon Sep 17 00:00:00 2001 From: Matt Low Date: Mon, 12 Nov 2018 09:27:29 +0400 Subject: [PATCH] Entity take float in constructor instead of int --- core/src/com/me/brickbuster/entity/Entity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/me/brickbuster/entity/Entity.java b/core/src/com/me/brickbuster/entity/Entity.java index 2966a22..c0c36d8 100644 --- a/core/src/com/me/brickbuster/entity/Entity.java +++ b/core/src/com/me/brickbuster/entity/Entity.java @@ -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);