public DetectionHandler(IIntelItem item) { _item = item; _gameMgr = References.GameManager; _debugControls = References.DebugControls; _detectionLookup = new Dictionary<Player, IDictionary<RangeCategory, IList<IUnitCmd_Ltd>>>(_gameMgr.AllPlayers.Count); }
/// <summary> /// Initializes a new instance of the <see cref="AIntelItemData" /> class. /// </summary> /// <param name="item">The item.</param> /// <param name="owner">The owner.</param> public AIntelItemData(IIntelItem item, Player owner) : base(item, owner) { _gameMgr = References.GameManager; }