From fa970bbafa771bf0e33ec87f5c2a338f5f885ef5 Mon Sep 17 00:00:00 2001 From: Haakon Gunleiksrud <haakogun@stud.ntnu.no> Date: Fri, 6 Mar 2020 12:55:38 +0100 Subject: [PATCH] #13 Changed visibility modifier for the fields in the Sprite class --- frontend/core/src/com/gameware/game/sprites/Sprite.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/core/src/com/gameware/game/sprites/Sprite.java b/frontend/core/src/com/gameware/game/sprites/Sprite.java index 3baf240..f780429 100644 --- a/frontend/core/src/com/gameware/game/sprites/Sprite.java +++ b/frontend/core/src/com/gameware/game/sprites/Sprite.java @@ -4,10 +4,10 @@ import com.badlogic.gdx.math.Vector3; public abstract class Sprite { - private Vector3 position; - private int width; - private int height; - private Object bounds; + protected Vector3 position; + protected int width; + protected int height; + protected Object bounds; public abstract void reset(); public abstract Object report(); -- GitLab