using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace HexTiles { /// /// Data structure with all the information about a single tile on the tile map. /// [Serializable] public class HexTileData { public HexTileData(HexPosition position, float diameter, Material material) { Position = position; Diameter = diameter; Material = material; } /// /// Position (coordinates and elevation) of the tile. /// public HexPosition Position { get; private set; } /// /// Width of the tile (assuming it is a flat topped hex) /// public float Diameter { get; private set; } /// /// Material applied to the tile. /// public Material Material { get; private set; } } }