Begining of work on Hex script

This commit is contained in:
ean205
2026-01-13 20:06:41 +03:00
parent 422de453af
commit ead50546ee
5 changed files with 39 additions and 24 deletions

28
Assets/scripts/hex/Hex.cs Normal file
View File

@@ -0,0 +1,28 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Hex : MonoBehaviour
{
public enum landscapeTypes { water, land, hill, highHill, mountain, uncrosableMountain };
public Vector2Int position;
public float noiseValue;
public landscapeTypes landType;
public int miniMapSeed;
public int income; //Ìîäèôèêàòîð ê äîõîäó â åäåíèöó âðåìåíè îò ýòîãî ãåêñà
//TODO ïåðåìåííàÿ äëÿ ïàìàòè ñîäåðæèìîãî
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}