add fields to Hex class

This commit is contained in:
2026-01-15 00:22:22 +03:00
parent 18648ff71b
commit 4ffdf964a7

View File

@@ -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