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 Summary

    Modifier and Type
    Method
    Description
    int
    x()
     
    int
    y()
     
  • Method Details

    • x

      @Parameter(order=0) int x()
      Specified by:
      x in interface VectorReadable2IType
      Returns:
      The x component
    • y

      @Parameter(order=1) int y()
      Specified by:
      y in interface VectorReadable2IType
      Returns:
      The y component