public MyAnimalBotActions(MyAnimalBot bot) : base(bot) { m_bot = bot; m_target = CreateTarget(bot); }
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); }
public MyCyberhoundActions(MyAnimalBot bot) : base(bot) { }
public MyWolfActions(MyAnimalBot bot) : base(bot) { }
public MyAnimalBotActions(MyAnimalBot bot) : base(bot) { m_bot = bot; }
public MySpiderLogic(MyAnimalBot bot) : base(bot) { }
public MySpiderActions(MyAnimalBot bot) : base(bot) { }
public MyCyberhoundLogic(MyAnimalBot bot) : base(bot) { }
public virtual MyAiTargetAnimal CreateTarget(MyAnimalBot bot) { return(new MyAiTargetAnimal(bot)); }
public MyWolfLogic(MyAnimalBot bot) : base(bot) { }