package dev.llan.view.game.map; import dev.llan.model.board.Point; public class ViewPoint { private int xCol; private int yRow; public ViewPoint(int xCol, int yRow) { this.xCol = xCol; this.yRow = yRow; } public ViewPoint(Point point) { this.xCol = point.getCol(); this.yRow = point.getRow(); } public int getXCol() { return xCol; } public void setXCol(int xCol) { this.xCol = xCol; } public void incrementXCol() { this.xCol++; } public void decrementXCol() { this.xCol--; } public int getYRow() { return yRow; } public void setYRow(int yRow) { this.yRow = yRow; } public void incrementYRow() { this.yRow++; } public void decrementYRow() { this.yRow--; } }