BehaviorAttackData::BehaviorAttackData(Agent & agent): mAgent ( agent ), mWorldState ( agent.GetWorldState() ), mBallState ( agent.GetWorldState().GetBall() ), mSelfState ( agent.Self() ), mPositionInfo ( agent.Info().GetPositionInfo()), mInterceptInfo ( agent.Info().GetInterceptInfo()), mStrategy (agent.GetStrategy()), mFormation ( agent.GetFormation() ) { mFormation.Update(Formation::Offensive, "Offensive"); }
DecisionData::DecisionData(Agent & agent): mAgent ( agent ), mWorldState ( agent.World() ), mBallState ( agent.World().Ball() ), mSelfState ( agent.Self() ), mInfoState ( agent.Info()) { }