RelativeVector2l

public class RelativeVector2l

Class RelativeVector2l. Provides relativevector2l functionality for the Hytale server.

java.lang.Object > RelativeVector2l

Field Summary

vector

private Vector2l vector

Field vector.

relative

private boolean relative

Field relative.

that

final RelativeVector2l that

Field that.

Method Detail

RelativeVector2l

public public RelativeVector2l (@Nonnull final Vector2l vector, final boolean relative)

Method RelativeVector2l.

Parameters:
@Nonnull final Vector2l vector
final boolean relative

getVector

public Vector2l getVector ()

Method getVector.

isRelative

public boolean isRelative ()

Method isRelative.

resolve

public Vector2l resolve (@Nonnull final Vector2l vector)

Method resolve.

Parameters:
@Nonnull final Vector2l 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