Пример #1
0
 public MyAnimalBotActions(MyAnimalBot bot)
     :
     base(bot)
 { 
     m_bot = bot;
     m_target = CreateTarget(bot);
 }
 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);
 }
 public MySpiderActions(MyAnimalBot bot)
     : base(bot)
 {
 }
 public MyCyberhoundActions(MyAnimalBot bot)
     : base(bot)
 {
 }
Пример #5
0
 public MyCyberhoundLogic(MyAnimalBot bot)
     : base(bot)
 { }
Пример #6
0
 public MySpiderLogic(MyAnimalBot bot)
     : base(bot)
 { 
 }
Пример #7
0
 public MyWolfActions(MyAnimalBot bot)
     : base(bot)
 {
 }
Пример #8
0
 public virtual MyAiTargetAnimal CreateTarget(MyAnimalBot bot)
 {
     return new MyAiTargetAnimal(bot);
 }
Пример #9
0
 public MyAnimalBotActions(MyAnimalBot bot)
     :
     base(bot)
 { 
     m_bot = bot;
 }
Пример #10
0
 public MyWolfLogic(MyAnimalBot bot)
     : base(bot)
 { }