ArmSettingsBuilder constructor
- ArmSettings initial
Modifies the given ArmSettings.
Implementation
ArmSettingsBuilder(ArmSettings initial) :
swivel = NumberBuilder(initial.swivel),
shoulder = NumberBuilder(initial.shoulder),
elbow = NumberBuilder(initial.elbow),
lift = NumberBuilder(initial.lift),
rotate = NumberBuilder(initial.rotate),
pinch = NumberBuilder(initial.pinch),
ik = NumberBuilder(initial.ikIncrement),
useIK = initial.useIK
{
swivel.addListener(notifyListeners);
shoulder.addListener(notifyListeners);
elbow.addListener(notifyListeners);
lift.addListener(notifyListeners);
rotate.addListener(notifyListeners);
pinch.addListener(notifyListeners);
ik.addListener(notifyListeners);
}