Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="team" /> class.
 /// </summary>
 /// <param name="id">The identifier.</param>
 /// <param name="name">The name.</param>
 /// <param name="prag">The prag.</param>
 public team(int id, String name, int prag)
 {
     this.name = name;
     this.ID = id;
     this.points = 0;
     this.rank = 1;
     this.State = new Context(new normal(prag));
     this.efficiency = 0;
     this.prag = prag;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="team" /> class.
 /// </summary>
 /// <param name="t">The team</param>
 public team(team t)
 {
     this.name = t.name;
     this.ID = t.ID;
     this.points = t.points;
     this.rank = t.rank;
     this.round_points = t.round_points;
     this.participated = t.participated;
     this.efficiency = t.efficiency;
     this.State = new Context(t.State.state);
     this.prag = t.prag;
 }