Exemplo n.º 1
0
  public static GridDimension toGridDimension(Position position) {
    int width = position.getBX();
    int height = position.getBY();

    return new GridDimension(width, height);
  }
Exemplo n.º 2
0
  public static GridPoint toGridPoint(Position position) {
    int x = position.getBX();
    int y = position.getBY();

    return new GridPoint(x, y);
  }