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