Class GridPoint2Utils

java.lang.Object
com.csse3200.game.utils.math.GridPoint2Utils

public class GridPoint2Utils extends Object
Contains additional utility constants and functions for common GridPoint2 operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.badlogic.gdx.math.GridPoint2
     
    static final com.badlogic.gdx.math.GridPoint2
     
    static final com.badlogic.gdx.math.GridPoint2
     
    static final com.badlogic.gdx.math.GridPoint2
     
    static final com.badlogic.gdx.math.GridPoint2
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.badlogic.gdx.math.GridPoint2[]
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ZERO

      public static final com.badlogic.gdx.math.GridPoint2 ZERO
    • UP

      public static final com.badlogic.gdx.math.GridPoint2 UP
    • DOWN

      public static final com.badlogic.gdx.math.GridPoint2 DOWN
    • LEFT

      public static final com.badlogic.gdx.math.GridPoint2 LEFT
  • Method Details

    • directions

      public static com.badlogic.gdx.math.GridPoint2[] directions()