001package squidpony.squidgrid.mapping.styled; 002 003/** 004 * Part of the JSON that defines a tileset. 005 * Created by Tommy Ettinger on 3/10/2015. 006 */ 007public class Config { 008 009 /* If this list of fields is modified, TilesetsGenerator should be modified too */ 010 011 public boolean is_corner; 012 //public int num_color_0, num_color_1, num_color_2, num_color_3, num_color_4 = 0, num_color_5 = 0; 013 public int[] num_colors; 014 public int num_x_variants, num_y_variants, short_side_length; 015 016 /** 017 * Probably not something you will construct manually. See DungeonBoneGen . 018 */ 019 public Config() { 020 is_corner = true; 021 num_colors = new int[] {1,1,1,1}; 022 /* 023 num_color_0 = 1; 024 num_color_1 = 1; 025 num_color_2 = 1; 026 num_color_3 = 1; 027 */ 028 num_x_variants = 1; 029 num_y_variants = 1; 030 } 031}