示例#1
0
 public Gear(double chainring,double cog, Wheel wheel)
 {
     this.chainring = chainring;
     this.cog = cog;
     this.wheel = wheel;
 }
示例#2
0
 private void LoadStuff()
 {
     Wheel wheel = new Wheel(26.0, 1.5);
     Gear gear = new Gear(52.0, 11.0, wheel);
     wheel.diameter();
 }