public int[] getPower() {
        int[] powerArray = new int[3];
        int usedPower = 0, totalPower = 0, availablePower = 0;

        Placeable placeable = null;

        try {
            for (String key : placeables.keySet()) {
                placeable = (Placeable) placeables.get(key);
                if (placeable.canDestroy()) {
                    usedPower += placeable.getPowerRequired();
                    totalPower += placeable.getPowerGenerated();
                    availablePower += placeable.getPowerGenerated();
                    availablePower -= placeable.getPowerRequired();
                }
            }
        } catch (ConcurrentModificationException concEx) {
            //another thread was trying to modify placeables while iterating
            //we'll continue and the new item can be grabbed on the next update
        }

        powerArray[0] = usedPower;
        powerArray[1] = totalPower;
        powerArray[2] = availablePower;

        return powerArray;
    }