예제 #1
0
파일: Rod.cs 프로젝트: slawosz/abacus
 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
파일: Bead.cs 프로젝트: slawosz/abacus
 protected void SetLeftBead(Bead leftBead)
 {
     this.leftBead = leftBead;
 }
예제 #4
0
파일: Bead.cs 프로젝트: slawosz/abacus
 public void SetRightBead(Bead rightBead)
 {
     this.rightBead = rightBead;
     this.rightBead.SetLeftBead(this);
 }