Skip to content
Snippets Groups Projects
Commit 2c96e275 authored by karolinevberge's avatar karolinevberge
Browse files

#13 hotfix: Added method and changed position to Vector3

parent e0f60f26
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import com.badlogic.gdx.math.Vector2; ...@@ -4,7 +4,7 @@ import com.badlogic.gdx.math.Vector2;
public abstract class Sprite { public abstract class Sprite {
private Vector2 position; private Vector3 position;
private int width; private int width;
private int height; private int height;
private Object bounds; private Object bounds;
...@@ -14,4 +14,6 @@ public abstract class Sprite { ...@@ -14,4 +14,6 @@ public abstract class Sprite {
public abstract void draw(); public abstract void draw();
public abstract void update();
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment