Begining of work on Hex script
This commit is contained in:
28
Assets/scripts/hex/Hex.cs
Normal file
28
Assets/scripts/hex/Hex.cs
Normal 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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user