Files
cs-map-project/Datalaag/Punt.cs
2020-07-25 20:27:59 +02:00

22 lines
457 B
C#

using System;
namespace Datalaag
{
public class Punt
{
public double X, Y;
public string Naam;
public Punt(double x, double y, string naam = "")
{
Naam = naam;
X = x;
Y = y;
}
public override string ToString()
{
if (string.Equals(Naam, "", StringComparison.Ordinal)) return "UNKNOWN";
else return Naam;
}
}
}