Example #1
0
 public void ToggleVelocityVectors()
 {
     MovingBodies.ForEach(m => m.ToggleVelocityVector());
 }
Example #2
0
 private void UpdateVectors()
 {
     MovingBodies.ForEach(m => m.UpdateVectors(Center.Velocity));
 }
Example #3
0
 public void ToggleAccelerationVectors()
 {
     MovingBodies.ForEach(m => m.ToggleAccelerationVector());
 }
Example #4
0
 private void UpdatePositions(Position canvasCenter, double scale)
 {
     MovingBodies.ForEach(m => m.UpdatePosition(canvasCenter, Center.Position, scale));
 }