forked from s425077/PotatoPlan
31 lines
512 B
C#
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;
|
|
}
|
|
}
|