public ConstantAccelerator(AccelerationUnit acceleration, VelocityUnit maxVelocity) { this.acceleration = acceleration; this.maxVelocity = maxVelocity; }
public BidirectionalAccelerators(AccelerationUnit acceleration, VelocityUnit maxVelocity) { positive = new ConstantAccelerator(acceleration, maxVelocity); negative = new ConstantAccelerator(-acceleration, -maxVelocity); }
public FrictionAccelerator(AccelerationUnit friction) { this.friction = friction; }