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:
x
in interfaceVectorReadable2IType
- Returns:
- The
x
component
-
y
@Parameter(order=1) int y()- Specified by:
y
in interfaceVectorReadable2IType
- Returns:
- The
y
component
-