squidpony.squidgrid.mapping.styled.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squidlib-util Show documentation
Show all versions of squidlib-util Show documentation
SquidLib platform-independent logic and utility code. Please refer to
https://github.com/SquidPony/SquidLib .
package squidpony.squidgrid.mapping.styled;
/**
* Part of the JSON that defines a tileset.
* Created by Tommy Ettinger on 3/10/2015.
*/
public class Config {
/* If this list of fields is modified, TilesetsGenerator should be modified too */
public boolean is_corner;
//public int num_color_0, num_color_1, num_color_2, num_color_3, num_color_4 = 0, num_color_5 = 0;
public int[] num_colors;
public int num_x_variants, num_y_variants, short_side_length;
/**
* Probably not something you will construct manually. See DungeonBoneGen .
*/
public Config() {
is_corner = true;
num_colors = new int[] {1,1,1,1};
/*
num_color_0 = 1;
num_color_1 = 1;
num_color_2 = 1;
num_color_3 = 1;
*/
num_x_variants = 1;
num_y_variants = 1;
}
}