RelativeVector2d

public class RelativeVector2d

Class RelativeVector2d. Provides relativevector2d functionality for the Hytale server.

java.lang.Object > RelativeVector2d

Field Summary

vector

private Vector2d vector

Field vector.

relative

private boolean relative

Field relative.

that

final RelativeVector2d that

Field that.

Method Detail

RelativeVector2d

public public RelativeVector2d (@Nonnull final Vector2d vector, final boolean relative)

Method RelativeVector2d.

Parameters:
@Nonnull final Vector2d vector
final boolean relative

getVector

public Vector2d getVector ()

Method getVector.

isRelative

public boolean isRelative ()

Method isRelative.

resolve

public Vector2d resolve (@Nonnull final Vector2d vector)

Method resolve.

Parameters:
@Nonnull final Vector2d vector

equals

public boolean equals (@Nullable final Object o)

Method equals.

Parameters:
@Nullable final Object o

hashCode

public int hashCode ()

Method hashCode.

toString

public String toString ()

Method toString.

KeyedCodec

public new KeyedCodec ("Relative", Codec.BOOLEAN)

Method KeyedCodec.

Parameters:
"Relative" "Relative"
Codec.BOOLEAN Codec.BOOLEAN