summaryrefslogtreecommitdiff
path: root/Pathfinding Visualizer/Assets/Scripts/AStar.cs
blob: 5d51e6de8c224a0ab15a5e629fe2d4a974e41109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AStar : MonoBehaviour
{

    LogicGrid world;
    List<int[][]> obstacles;
    List<int[][]> samples;
    int heuristic; // 0 = h0 | 

    public AStar(LogicGrid world, int heuristic)
    {
        this.world = world;
        this.obstacles = world.obstacles;
        this.samples = world.samples;
        this.heuristic = heuristic;
    }

    public void go()
    {

    }
}