Pathwalker-Klasse (Blatt 7)
This commit is contained in:
20
src/Coordinate.cs
Normal file
20
src/Coordinate.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace WorldOfPeacecraft
|
||||
{
|
||||
public class Coordinate
|
||||
{
|
||||
public int X { get; set; }
|
||||
public int Y { get; set; }
|
||||
|
||||
public Coordinate (int x, int y)
|
||||
{
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
}
|
||||
|
||||
public void setCoordinate(int x, int y)
|
||||
{
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user