@Override
    public boolean doIWantToQuit(MissionInit missionInit) {
        lock.lock();
        try {
           return envState.quit;
        } finally {
            lock.unlock();
        }
    }
@ Override public boolean doIWantToQuit ( MissionInit missionInit ) { lock . lock ( ) ; try { return envState . quit ; } finally { lock . unlock ( ) ; } }
IWantToQuit implementation.