Exemplo n.º 1
0
void MarketKid::_updateThoughts()
{
  StringArray ownThinks;
  ownThinks << "##market_kid_say_1##";
  ownThinks << "##market_kid_say_2##";
  ownThinks << "##market_kid_say_3##";

  setThinks( WalkerThinks::check( this, _city(), ownThinks ) );
}
Exemplo n.º 2
0
void MarketLady::_updateThoughts()
{
    if( pathway().isReverse() )
    {
        if( market().isValid() && market()->goodStore().empty() )
        {
            setThinks( "##marketLady_no_food_on_market##" );
            return;
        }
    }

    ServiceWalker::_updateThoughts();
}