imported and translated java code
starting to implement algorithms
This commit is contained in:
@@ -6,10 +6,16 @@ public class AStar : MonoBehaviour
|
||||
{
|
||||
|
||||
LogicGrid world;
|
||||
List<int[][]> obstacles;
|
||||
List<int[][]> samples;
|
||||
int heuristic; // 0 = h0 |
|
||||
|
||||
public void setWorld(LogicGrid world)
|
||||
public AStar(LogicGrid world, int heuristic)
|
||||
{
|
||||
this.world = world;
|
||||
this.obstacles = world.obstacles;
|
||||
this.samples = world.samples;
|
||||
this.heuristic = heuristic;
|
||||
}
|
||||
|
||||
void Start()
|
||||
|
||||
Reference in New Issue
Block a user