diff --git a/Assets/scripts/hex/Hex.cs b/Assets/scripts/hex/Hex.cs index 2c356d6..ba9bc62 100644 --- a/Assets/scripts/hex/Hex.cs +++ b/Assets/scripts/hex/Hex.cs @@ -5,6 +5,7 @@ using UnityEngine; public class Hex : MonoBehaviour { public enum landscapeTypes { water, land, hill, highHill, mountain, uncrosableMountain }; + public enum stateTypes { idle, owned, battle }; public Vector2Int position; public float noiseValue; @@ -12,6 +13,9 @@ public class Hex : MonoBehaviour public int miniMapSeed; public int income; //Модификатор к доходу в еденицу времени от этого гекса + public int ownerID; + public stateTypes state = stateTypes.idle; + //TODO переменная для памати содержимого // Start is called before the first frame update