package ch.asynk.gdx.boardgame.utils; public class IterableQueue extends IterableArray { public IterableQueue(int n) { super(n); } public void enqueue(E e) { add(e); } public E dequeue() { return remove(0); } }