コード例 #1
0
ファイル: TileSet.java プロジェクト: dosage/nenya
  /**
   * Creates a copy of this tileset which will apply the supplied colorizations to its tileset image
   * when creating tiles.
   */
  public TileSet clone(Colorization[] zations) {
    try {
      TileSet tset = (TileSet) clone();
      tset._zations = zations;
      return tset;

    } catch (CloneNotSupportedException cnse) {
      log.warning(
          "Unable to clone tileset prior to colorization",
          "tset",
          this,
          "zations",
          zations,
          "error",
          cnse);
      return null;
    }
  }