コード例 #1
0
ファイル: market_kid.cpp プロジェクト: b606/caesaria-game
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 ) );
}
コード例 #2
0
ファイル: market_lady.cpp プロジェクト: binakot/caesaria-game
void MarketLady::_updateThoughts()
{
    if( pathway().isReverse() )
    {
        if( market().isValid() && market()->goodStore().empty() )
        {
            setThinks( "##marketLady_no_food_on_market##" );
            return;
        }
    }

    ServiceWalker::_updateThoughts();
}