Class IntVec2D

java.lang.Object
eu.iv4xr.framework.spatial.IntVec2D
All Implemented Interfaces:
Serializable

public class IntVec2D extends Object implements Serializable
Representing discrete 2D vector/position, e.g. (0,0) and (1,2). But (1.5,1) is not a valid instance of this class.
See Also:
Serialized Form
  • Field Details

    • x

      public int x
    • y

      public int y
  • Constructor Details

    • IntVec2D

      public IntVec2D(int x, int y)
  • Method Details