PhysicsValues

public class PhysicsValues implements Component

Class PhysicsValues. Provides physicsvalues functionality for the Hytale server.

java.lang.Object > PhysicsValues

Field Summary

mass

protected double mass

Field mass.

dragCoefficient

protected double dragCoefficient

Field dragCoefficient.

invertedGravity

protected boolean invertedGravity

Field invertedGravity.

Method Detail

getComponentType

public PhysicsValues> getComponentType ()

Method getComponentType.

PhysicsValues

public public PhysicsValues ()

Method PhysicsValues.

replaceValues

public void replaceValues (@Nonnull final PhysicsValues other)

Method replaceValues.

Parameters:
@Nonnull final PhysicsValues other

resetToDefault

public void resetToDefault ()

Method resetToDefault.

scale

public void scale (final float scale)

Method scale.

Parameters:
final float scale

getMass

public double getMass ()

Method getMass.

getDragCoefficient

public double getDragCoefficient ()

Method getDragCoefficient.

isInvertedGravity

public boolean isInvertedGravity ()

Method isInvertedGravity.

getDefault

static PhysicsValues getDefault ()

Method getDefault.

toString

public String toString ()

Method toString.

clone

public Component clone ()

Method clone.