///<summary> ///constructor for given team with given minimap component ///</summary> public BotPolygon( GameManager.GameManager.Teams team, MinimapComponent minimapComponent) { _team = team; _minimapComponent = minimapComponent; }
///<summary> ///constructor for given team with given minimap component ///</summary> public BotAnimatedSprite( GameManager.GameManager.Teams team, MinimapComponent minimapComponent) { _team = team; _minimapComponent = minimapComponent; }
/// <summary> /// main construtor /// </summary> /// <param name="flagData">owner team</param> public TriggerFlag(FlagData flagData) : base(new Flag((GameManager.GameManager.Teams)flagData.Team)) { Name = flagData.Name; Position = flagData.Position; BoundingRadius = flagData.Radius; NodeIndex = flagData.NodeIndex; _homePosition = flagData.Position; _team = (GameManager.GameManager.Teams)flagData.Team; //create this trigger's region of influence AddCircularTriggerRegion( Position, GameManager.GameManager.Instance.Parameters.DefaultGiverTriggerRange); EntityType = EntityTypes.Flag; IsActive = true; }
///<summary> ///constructor for given team ///</summary> ///<param name="team"></param> public Flag(GameManager.GameManager.Teams team) { _team = team; }
/// <summary> /// main constructor /// </summary> public FoundTriggerList(GameManager.GameManager.Teams ownerTeam) { _ownerTeam = ownerTeam; Reset(); }