26 lines
443 B
C#
26 lines
443 B
C#
|
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()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|