public void assignWork(int workType, WorkManager wMan) {
        boolean assignedWork = false;
        for (int i = 0; i < minions.length; i++) {
            if (minions[i].workType == 0 && !assignedWork) {
                assignedWork = wMan.assignWork(workType, minions[i]);
            }
        }
        if (!assignedWork) {
            System.out.println("no work assigned");
        }
    }