Interface GameSpecificStuff.CoordMapper

  • Enclosing interface:
    GameSpecificStuff

    public static interface GameSpecificStuff.CoordMapper
    Mapper to adjust map grid cells.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getXX​(int x)
      Returns the x axis offset for a cell with given x coordinate.
      float getXY​(int x)
      Returns the y axis offset for a cell with given x coordinate.
      float getYX​(int y)
      Returns the x axis offset for a cell with given y coordinate.
      float getYY​(int y)
      Returns the y axis offset for a cell with given y coordinate.
    • Method Detail

      • getXX

        float getXX​(int x)
        Returns the x axis offset for a cell with given x coordinate.
      • getXY

        float getXY​(int x)
        Returns the y axis offset for a cell with given x coordinate.
      • getYY

        float getYY​(int y)
        Returns the y axis offset for a cell with given y coordinate.
      • getYX

        float getYX​(int y)
        Returns the x axis offset for a cell with given y coordinate.