jm.audio.synth

## Class MassObject

- java.lang.Object
- - jm.audio.synth.MassObject

-     public class MassObject
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MassObject()`
    `MassObject(double friction)`
    `MassObject(double friction, double size)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getDisplacement(double force)`
    `double` | `getYPosition()` return the virtical pixel location of the top of this mass
    `void` | `setYPosition(double newPos)` specify the virtical pixel location for the top of this mass

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MassObject

          public MassObject()

    - #### MassObject

          public MassObject(double friction)

    - #### MassObject

          public MassObject(double friction,
                    double size)

  - ### Method Detail

    - #### setYPosition

          public void setYPosition(double newPos)

      specify the virtical pixel location for the top of this mass

    - #### getYPosition

          public double getYPosition()

      return the virtical pixel location of the top of this mass

    - #### getDisplacement

          public double getDisplacement(double force)