public boolean assignWork(int workType, Minion minion) {
        switch (workType) {
            case 1:
                if (missileCount > 0) {
                    missileCount--;
                    minion.workType = workType;
                    minion.updatePosition();
                    return true;
                }
                break;
            case 2:
                if (missilesLoaded >= 1) {
                    missilesLoaded--;
                    minion.workType = workType;
                    minion.updatePosition();
                    return true;
                }
                break;
            default:
                break;
        }
        return false;
    }