Scriptum/Assets/Scripts/ProceduralGeneration/GraphNode.cs

26 lines
443 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GraphNode
{
public HashSet<Vector2Int> positions = new HashSet<Vector2Int>();
public HashSet<GraphNode> neighbours = new HashSet<GraphNode>();
public int id;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}