Пример #1
0
 private void BuildBeads()
 {
     for (int i = 0; i < beadsCount; i++)
     {
         beads[i] = new Bead(this, i);
     }
 }
Пример #2
0
 public MoveRequest(Bead sender, Double x)
 {
     this.sender = sender;
     this.x = x;
     this.accepted = false;
     this.processed = false;
 }
Пример #3
0
 protected void SetLeftBead(Bead leftBead)
 {
     this.leftBead = leftBead;
 }
Пример #4
0
 public void SetRightBead(Bead rightBead)
 {
     this.rightBead = rightBead;
     this.rightBead.SetLeftBead(this);
 }