All Downloads are FREE. Search and download functionalities are using the official Maven repository.

squidpony.squidgrid.mapping.styled.Config Maven / Gradle / Ivy

Go to download

SquidLib platform-independent logic and utility code. Please refer to https://github.com/SquidPony/SquidLib .

There is a newer version: 3.0.6
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy