コード例 #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()!");
 }
コード例 #2
0
ファイル: MyAgentLogic.cs プロジェクト: warex0/SpaceEngineers
        public override void Init()
        {
            base.Init();

            AiTarget = AgentBot.AgentActions.AiTargetBase;
        }
コード例 #3
0
 public MyHumanoidBotCommonActions(MyHumanoidBot humanoidBot, MyAiTargetBase targetBase)
     : base(humanoidBot, targetBase)
 {
 }
コード例 #4
0
 public MyAgentCommonActions(MyAgentBot bot, MyAiTargetBase targetBase)
 {
     Bot = bot;
     AiTargetBase = targetBase;
 }
コード例 #5
0
        public MyHumanoidBotCommonActions(MyHumanoidBot humanoidBot, MyAiTargetBase targetBase)
            : base(humanoidBot, targetBase)
        {

        }
コード例 #6
0
 public MyAgentCommonActions(MyAgentBot bot, MyAiTargetBase targetBase)
 {
     Bot          = bot;
     AiTargetBase = targetBase;
 }