Beispiel #1
0
  public static GridDimension toGridDimension(Position position) {
    int width = position.getBX();
    int height = position.getBY();

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

    return new GridPoint(x, y);
  }