public void tick() {
        for (int i = 0; i < entities.size(); i++) {
            if(entities.get(i).isRemoved()) entities.remove(i);
            entities.get(i).tick();
        }

        fg.tick();
    }