Class DelegatedVector2fPropertyBase<T extends VectorFloat<T>>
java.lang.Object
dev.prozilla.pine.common.property.vector.delegated.DelegatedVector2fPropertyBase<T>
- All Implemented Interfaces:
NonNullProperty<T>,Property<T>,Vector2fPropertyBase<T>,Functor<T>
- Direct Known Subclasses:
DelegatedVector2fProperty,DelegatedVector3fPropertyBase
public abstract class DelegatedVector2fPropertyBase<T extends VectorFloat<T>>
extends Object
implements Vector2fPropertyBase<T>, NonNullProperty<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.NonNullProperty
isNotNull, isNotNullProperty, replaceNullMethods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, hasValueProperty, isNull, map, requireValue, snapshot, toStringProperty
-
Field Details
-
x
-
y
-
-
Constructor Details
-
DelegatedVector2fPropertyBase
-
-
Method Details
-
getX
public float getX()Description copied from interface:Vector2fPropertyBaseReturns the x value of the current vector, or0if the vector isnull.- Specified by:
getXin interfaceVector2fPropertyBase<T extends VectorFloat<T>>- Returns:
- The x value of the current vector.
-
getY
public float getY()Description copied from interface:Vector2fPropertyBaseReturns the y value of the current vector, or0if the vector isnull.- Specified by:
getYin interfaceVector2fPropertyBase<T extends VectorFloat<T>>- Returns:
- The y value of the current vector.
-
xProperty
- Specified by:
xPropertyin interfaceVector2fPropertyBase<T extends VectorFloat<T>>
-
yProperty
- Specified by:
yPropertyin interfaceVector2fPropertyBase<T extends VectorFloat<T>>
-