/// <summary> /// constructor /// </summary> /// <param name="letter">The letter associated to the chunk</param> /// <param name="pos">The position of the chunk in a completed Island</param> /// <param name="rot">The rotation of the chunk in a completed Island</param> public IslandChunkData(IslandUtils.ChunkLetter letter, Vector3 pos, Vector3 rot) { chunkLetter = letter; position = pos; rotation = rot; }
/// <summary> /// constructor /// </summary> /// <param name="_name">The name of the Island: Color followed by number, ex: Red 2</param> /// <param name="_chunks">A list of every chunks related data</param> public IslandData(IslandUtils.color _color, List<IslandChunkData> _chunks) { color = _color; chunks = _chunks; }