public Tile Clone() { Tile newTile = new Tile(); newTile.Boundary = Boundary.Clone(); newTile.Drawn = Drawn.Clone(); newTile.VertexCircle = VertexCircle.Clone(); newTile.Geometry = Geometry; return(newTile); }
public override string ToString() { var final = new StringBuilder(); final.Append($"{Name.PadRight(30)} | "); final.Append($"{Played.ToString().PadLeft(2)} | "); final.Append($"{Won.ToString().PadLeft(2)} | "); final.Append($"{Drawn.ToString().PadLeft(2)} | "); final.Append($"{Lost.ToString().PadLeft(2)} | "); final.Append($"{Point.ToString().PadLeft(2)}"); return(final.ToString()); }
public string[] getinfo() { string[] info = new string[9]; info[0] = TeamName; info[1] = Played.ToString(); info[2] = Won.ToString(); info[3] = Drawn.ToString(); info[4] = Lost.ToString(); info[5] = GF.ToString(); info[6] = GA.ToString(); info[7] = GD.ToString(); info[8] = Points.ToString(); return(info); }
public void Draw(List <Vector3> points) { this.lineRenderer.positionCount = points.Count; this.lineRenderer.SetPositions(points.ToArray()); if (points.Count < 2) { this.arrow.color = new Color(0, 0, 0, 0); return; } this.arrow.transform.position = points.Last(); this.arrow.transform.rotation = QuaternionUtility.LookRotation2D( points[points.Count - 1] - points[points.Count - 2]); Drawn?.Invoke(points); AnyPathDrawn?.Invoke(points); }
private void BtnCheckResult_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(dataSort)) { if (numeros != null) { bet.drawns = new List <Drawn>(); Drawn drawn = new Drawn { date = DateTime.Today.Date.ToString(), numbers = string.Join(" ", numeros.ToArray()), stars = string.Join(" ", estrelas.ToArray()) }; bet.drawns.Add(drawn); } new GetResults(this, bet).Execute(Common.Common.APIRequest(DateTime.Parse(dataSort))); } }
public virtual void OnDraw(EventArgs e) { Drawn?.Invoke(this, e); }
public void Transform(Isometry i) { Boundary.Transform(i); Drawn.Transform(i); VertexCircle.Transform(i); }
/// <summary> /// Apply a Mobius transform to us. /// </summary> public void Transform(Mobius m) { Boundary.Transform(m); Drawn.Transform(m); VertexCircle.Transform(m); }
public void Reflect(Segment s) { Boundary.Reflect(s); Drawn.Reflect(s); VertexCircle.Reflect(s); }