Beruflich Dokumente
Kultur Dokumente
Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AStarP2
{
class Node
{
public int gCost = 0, hCost = 0, fCost = 0, x = 0, y = 0, terreno = 0;
public Node parent = null;
}
int[,] mapa;
int ancho, alto;
}
public void init(int [,] map)
{
mapa = map;
}
public LinkedList<Posicion> find(int x, int y, Posicion pActivo)
{
sol.Clear();
seen.Clear();
close.Clear();
pDestino.x = x; pDestino.y = y;
//pDestino.x = x; pDestino.y = y;
Posicion pAux = new Posicion();
Posicion p2 = new Posicion();
return sol;
return aux;
}
}
}