#include <intention_with_condition.h>
rcsc::IntentionWithConditionに対する継承グラフ
Public メソッド | |
IntentionWithCondition (boost::shared_ptr< Condition > condition, boost::shared_ptr< SoccerBehavior > behavior) | |
construct with condition & behavior | |
bool | finished (const PlayerAgent *agent) |
check if this intention finishes | |
bool | execute (PlayerAgent *agent) |
execute action |
bool rcsc::IntentionWithCondition::finished | ( | const PlayerAgent * | agent | ) | [virtual] |
check if this intention finishes
agent | const pointer to the agent instance |
rcsc::SoccerIntentionを実装しています。
bool rcsc::IntentionWithCondition::execute | ( | PlayerAgent * | agent | ) | [virtual] |
execute action
agent | pointer to the agent itself |
rcsc::SoccerIntentionを実装しています。