Interface PVector2IType<T>

Type Parameters:
T - A phantom type parameter
All Superinterfaces:
PVectorReadable2IType<T>, VectorComputationalType, VectorReadable2IType
All Known Implementing Classes:
PVector2I

@Immutable public interface PVector2IType<T> extends PVectorReadable2IType<T>, 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