PotatoPlan/Game1/Sources/Pathing/A-Star/PathSaver/Nodes.cs
2020-05-03 13:05:05 +02:00

31 lines
512 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
class Nodes
{
private int Cost;
private Vector2 Node;
public Nodes(int cost, Vector2 node)
{
Cost = cost;
Node = node;
}
public Vector2 getVector()
{
return Node;
}
public int getCost()
{
return Cost;
}
}