Ejemplo n.º 1
0
 /// <summary>
 /// Give me the estimated position via SummonersRift.Base.TowerXYZ
 /// </summary>
 public ObjectiveInhibitorTurret(Vector2 position, ObjectiveInnerTurret requiredTurret)
     : base(position)
 {
     Object = ObjectManager.Get<Obj_AI_Turret>().FirstOrDefault(tower => Math.Abs(tower.Position.X - position.X) < ObjectiveOuterTurret.EstimatedPositionRange && Math.Abs(tower.Position.Y - position.Y) < ObjectiveOuterTurret.EstimatedPositionRange);
     _requiredTurret = requiredTurret;
     RequiredObjectives.Add(requiredTurret);
 }