public MyAgentLogic(IMyBot bot) : base(bot) { m_entityBot = m_bot as IMyEntityBot; AiTarget = MyAIComponent.BotFactory.CreateTargetForBot(AgentBot); Debug.Assert(AiTarget != null, "Ai target was not created in CreateTargetForBot()!"); }
public override void Init() { base.Init(); AiTarget = AgentBot.AgentActions.AiTargetBase; }
public MyHumanoidBotCommonActions(MyHumanoidBot humanoidBot, MyAiTargetBase targetBase) : base(humanoidBot, targetBase) { }
public MyAgentCommonActions(MyAgentBot bot, MyAiTargetBase targetBase) { Bot = bot; AiTargetBase = targetBase; }