Class GUIGridPosition

java.lang.Object
polimi.ingsw.am21.codex.view.GUI.utils.GUIGridPosition

public class GUIGridPosition extends Object
  • Field Details

    • gridSize

      public static int gridSize
  • Constructor Details

    • GUIGridPosition

      public GUIGridPosition(int row, int col)
    • GUIGridPosition

      public GUIGridPosition(Position modelPosition)
  • Method Details

    • getRow

      public int getRow()
    • getCol

      public int getCol()
    • getModelPosition

      public Position getModelPosition()
      Calculates the model position corresponding to this view position