diff --git a/core/src/com/monjaro/gamejam/Game.java b/core/src/com/monjaro/gamejam/Game.java index fb1b526..6c54ca8 100644 --- a/core/src/com/monjaro/gamejam/Game.java +++ b/core/src/com/monjaro/gamejam/Game.java @@ -13,14 +13,10 @@ import com.monjaro.gamejam.segment.KinSegment; import com.monjaro.gamejam.segment.Segment; import java.util.ArrayList; -import java.util.HashSet; import java.util.List; -import java.util.Set; public class Game extends ApplicationAdapter { - private final Set actors = new HashSet<>(); - private final List dice = new ArrayList<>(); private final List segments = new ArrayList<>(); @@ -57,8 +53,6 @@ public class Game extends ApplicationAdapter { public void tick() { processInput(); - - actors.forEach(Actor::tick); } public void processInput() { @@ -94,8 +88,6 @@ public class Game extends ApplicationAdapter { ScreenUtils.clear(0, 0, 0, 1); batch.begin(); - actors.forEach(a -> a.render(batch)); - //TODO debug for (Die die : dice) { die.render(batch); @@ -120,12 +112,4 @@ public class Game extends ApplicationAdapter { img.dispose(); } - private void addActor(Actor actor) { - actors.add(actor); - } - - private void removeActor(Actor actor) { - actors.remove(actor); - } - }