Interface Vector2IType
- All Superinterfaces:
VectorComputationalType,VectorReadable2IType
- All Known Implementing Classes:
Vector2I
@Immutable public interface Vector2IType extends VectorReadable2IType, VectorComputationalType
The type of 2D
int-typed vectors.-
Method Details
-
x
@Parameter(order=0) int x()- Specified by:
xin interfaceVectorReadable2IType- Returns:
- The
xcomponent
-
y
@Parameter(order=1) int y()- Specified by:
yin interfaceVectorReadable2IType- Returns:
- The
ycomponent
-