public GStructureDimensions(StructureSizes size, int dim_matrix_size, int[,] dim_matrix, Vector2 dim_matrix_origin) { this.size = size; this.dim_matrix_size = dim_matrix_size; this.dim_matrix = dim_matrix; this.dim_matrix_origin = dim_matrix_origin; }
public GStructureDimensions(StructureSizes size, int dim_matrix_size, int[,] dim_matrix) { this.size = size; this.dim_matrix_size = dim_matrix_size; this.dim_matrix = dim_matrix; dim_matrix_origin = Vector2.zero; }
GStructure getRandomTree(StructureSizes size) { GStructure veg = null; int vegType = UnityEngine.Random.Range(0, 100); return(veg); }
public GStructureDimensions(StructureSizes size) { this.size = size; if ((int)size > (int)StructureSizes.Medium) { Debug.LogError("You must provide a dimension matrix and its size for structures with a size greater than Medium. Use the other constructor."); } }
GStructure getRandomBush(StructureSizes size) { GStructure veg = null; int vegType = UnityEngine.Random.Range(0, 100); return veg; }