leisureBuffer.add(LEISURE_RECOVERY_RATE);
leisureBuffer.add(LEISURE_RECOVERY_RATE * myBaseCrewGroupImpl.getTickLength());
    private void checkForMeaningfulActivity() {        myLogger.debug("Checking to see if " + myCurrentActivity.getName()                + " is a meaningful activity");        if (myCurrentActivity.getName().equals("mission")) {            addProductivity();        } else if (myCurrentActivity.getName().startsWith("sleep")                || myCurrentActivity.getName().startsWith("sick")) {            sleepBuffer.add(SLEEP_RECOVERY_RATE);        } else if (myCurrentActivity.getName().equals("leisure")) {            leisureBuffer.add(LEISURE_RECOVERY_RATE);        } else if (myCurrentActivity instanceof RepairActivity) {            RepairActivity repairActivity = (RepairActivity) (myCurrentActivity);            repairModule(repairActivity.getModuleNameToRepair(), repairActivity                    .getMalfunctionIDToRepair());        } else if (myCurrentActivity instanceof EVAActivity) {            handleEVA((EVAActivity) (myCurrentActivity));        } else if (myCurrentActivity instanceof MaitenanceActivity) {            MaitenanceActivity maitenanceActivity = (MaitenanceActivity) (myCurrentActivity);            maintainModule(maitenanceActivity.getModuleNameToMaintain());        }    }