代码搜索:Behavior
找到约 3,820 项符合「Behavior」的源代码
代码结果 3,820
www.eeworm.com/read/334861/3361434
cc update.cc
#include "sine.ih"
void Sine::update()
{
Behavior::update();
d_committed = d_committed || d_factor < 1.0;
_debugLevel4(ident()
www.eeworm.com/read/334861/3361460
cc getcurrentstate.cc
#include "guardgoal.ih"
rf GuardGoal::getCurrentState()
{
rf state = new State();
rf dis = state->addDisjunct();
rf con = dis->addConjunct();
// con-
www.eeworm.com/read/334861/3361461
cc guardgoal.cc
#include "guardgoal.ih"
GuardGoal::GuardGoal(string const &id, string const &playerClass)
: Behavior("GuardGoal", id, playerClass)
{
d_tree = new AST::Node(sequenceType);
d_tree->addChild(new A
www.eeworm.com/read/334861/3361479
cc update.cc
#include "getfromside.ih"
void GetFromSide::update()
{
Behavior::update();
WorldModel& wm = WorldModel::getInstance();
d_committed = d_committed || !(wm.onMyBack() || wm.onMyBelly() || wm.on
www.eeworm.com/read/334861/3361496
cc getcapability.cc
#include "goodposition.ih"
Behavior::ConfidenceInterval GoodPosition::getCapability(rf s, rf g)
{
Vector3D pos = g->getVector("Pos");
_debugLevel4(ident()
www.eeworm.com/read/334861/3361500
cc update.cc
#include "turnto.ih"
void TurnTo::update()
{
Behavior::update();
if (!d_goal)
d_committed = false;
else
{
rf angleNode;
angleNode = rf_cast(d_goa
www.eeworm.com/read/334861/3361505
cc strafeleft.cc
#include "strafeleft.ih"
StrafeLeft::StrafeLeft(string const &id, string const &playerClass)
: Behavior("StrafeLeft", id, playerClass)
{
d_tree = new AST::Node(sequenceType);
d_tree->addChild(n
www.eeworm.com/read/334861/3361516
cc getcapability.cc
#include "goodpositionangle.ih"
Behavior::ConfidenceInterval GoodPositionAngle::getCapability(rf s, rf g)
{
Vector3D pos = g->getVector("Pos");
WorldModel& wm = WorldModel::getInstan
www.eeworm.com/read/334861/3361528
cc generategoal.cc
#include "getupfromback.ih"
rf GetUpFromBack::generateGoal(unsigned step, unsigned slot)
{
//d_committed = true;
rf goal = new Goal();
rf dis = goal->addDisjunc
www.eeworm.com/read/334861/3361546
cc movejointto.cc
#include "movejointto.ih"
MoveJointTo::MoveJointTo(string const &id, string const &playerClass)
: Behavior("MoveJointTo", id, playerClass),
d_gain(0.1)
{
d_gain = getParam("/gain", d_gain);