Esempio n. 1
0
 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()!");
 }
Esempio n. 2
0
        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;
 }
        public MyHumanoidBotCommonActions(MyHumanoidBot humanoidBot, MyAiTargetBase targetBase)
            : base(humanoidBot, targetBase)
        {

        }
Esempio n. 6
0
 public MyAgentCommonActions(MyAgentBot bot, MyAiTargetBase targetBase)
 {
     Bot          = bot;
     AiTargetBase = targetBase;
 }