public void putScenery(Scenery scenery, int x, int y) {
    if ((x < width && y < height) && (x >= 0 && y >= 0)) {
      data[y][x] = scenery;
    } else {
      throw new AssertionError("placed a scenery off the map");
    }
  }