33 lines
757 B
C#
33 lines
757 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
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;
|
|
public landscapeTypes landType;
|
|
public int miniMapSeed;
|
|
|
|
public int income; //Ìîäèôèêàòîð ê äîõîäó â åäåíèöó âðåìåíè îò ýòîãî ãåêñà
|
|
public int ownerID;
|
|
public stateTypes state = stateTypes.idle;
|
|
|
|
//TODO ïåðåìåííàÿ äëÿ ïàìàòè ñîäåðæèìîãî
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|