Бред: Душевные переживания

Очередной вечер, и снова под катом полный бред…

//...
$event = getWorldInstance()->getFutureEventsByLocation($me->fetchLocation());
$event->bindEvent("start", doVisitEventCallback);

//...doVisitEventCallback
$girls = getEventContext()->find(PeopleFactory::female);
foreach ($girls as $girl) {
    try {
        for ($i = 0; $i < $me->getСoncept()->getProperty(Concept::MAX_OF_COMPLIMENTS); $i++) {
            $girl->tryCompliment(ComplimentFactory::getRandomCompliment)
        }
        getEventContext()->leaveEvent(afterLeavingCallback, $girl);
    } catch (IllegalComplimentException $ex) {
    } catch (Exception $ex) {}
}

//...afterLeavingCallback
try {
    $binding = $me->takeHand($girl);
    $binding->moveTo(getWorldContext()->fetchNearestCafeLocation(), doCafeHadler);
} catch (PMSException $ex) {
    Thread.sleep(Time::WEEK / 2);
    getSelfContext()->retry();
} catch (NullPointerException $ex) {
    $taproom = getWorldContext()->fetchTaproom($me->fetchLocation());
    $tapRoom->visit(doAlcoholDrinkingCallback);
} catch (Exception $ex) {
    getSelfContext()->retry();
}
//...

Вот так то, ребятки…

comments powered by Disqus