Vector activeTroops = new Vector();
Vector<Integer> activeTroops = new Vector<Integer>();
    public int getRandomTrooper() {        Vector activeTroops = new Vector();        for (int loop = 1; loop < this.locations(); loop++)            if (isTrooperActive(loop))                activeTroops.add(loop);        int locInt = Compute.randomInt(activeTroops.size());        return (Integer)(activeTroops.elementAt(locInt));    }