Example #1
0
 public MyAnimalBotActions(MyAnimalBot bot)
     :
     base(bot)
 {
     m_bot    = bot;
     m_target = CreateTarget(bot);
 }
Example #2
0
        public MyAnimalBotLogic(MyAnimalBot bot) : base(bot)
        {
            MyBotNavigation navigation = this.AnimalBot.Navigation;

            navigation.AddSteering(new MyTreeAvoidance(navigation, 0.1f));
            this.m_characterAvoidance = new MyCharacterAvoidance(navigation, 1f);
            navigation.AddSteering(this.m_characterAvoidance);
            navigation.MaximumRotationAngle = new float?(MathHelper.ToRadians((float)23f));
        }
        public MyAnimalBotLogic(MyAnimalBot bot)
            : base(bot)
        {
            var navigation = AnimalBot.Navigation;

            navigation.AddSteering(new MyTreeAvoidance(navigation, 0.1f));
            m_characterAvoidance = new MyCharacterAvoidance(navigation, 1f);
            navigation.AddSteering(m_characterAvoidance);
            navigation.MaximumRotationAngle = MathHelper.ToRadians(23);
        }
Example #4
0
 public MyCyberhoundActions(MyAnimalBot bot)
     : base(bot)
 {
 }
Example #5
0
 public MyWolfActions(MyAnimalBot bot)
     : base(bot)
 {
 }
 public MyAnimalBotActions(MyAnimalBot bot)
     :
     base(bot)
 {
     m_bot = bot;
 }
Example #7
0
 public MySpiderLogic(MyAnimalBot bot)
     : base(bot)
 {
 }
Example #8
0
 public MySpiderActions(MyAnimalBot bot)
     : base(bot)
 {
 }
Example #9
0
 public MyCyberhoundLogic(MyAnimalBot bot)
     : base(bot)
 {
 }
Example #10
0
 public virtual MyAiTargetAnimal CreateTarget(MyAnimalBot bot)
 {
     return(new MyAiTargetAnimal(bot));
 }
Example #11
0
 public MyWolfLogic(MyAnimalBot bot)
     : base(bot)
 {
 }