///<summary> ///constructor for given team with given minimap component ///</summary> public BotAnimatedSprite( GameManager.GameManager.Teams team, MinimapComponent minimapComponent) { _team = team; _minimapComponent = minimapComponent; }
///<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 BotShape3D( GameManager.GameManager.Teams team, MinimapComponent minimapComponent) { Team = team; _minimapComponent = minimapComponent; Create(); }
private MinimapComponent CreateMinimapComponent( Vector2 cameraCenter, Vector2 cameraExtent, Vector2 viewPosition, Vector2 viewSize, bool showBorder) { MinimapComponent mini = new MinimapComponent(); mini.CameraCenter = cameraCenter; mini.CameraExtent = cameraExtent; mini.ViewPosition = viewPosition; mini.ViewSize = viewSize; mini.ShowBorder = showBorder; return mini; }