SetPos(int, int)-Methode in Klasse Entity
This commit is contained in:
@@ -41,6 +41,12 @@ namespace WorldOfPeacecraft
|
|||||||
return Coord.X;
|
return Coord.X;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetPos (int x, int y)
|
||||||
|
{
|
||||||
|
SetX (x);
|
||||||
|
SetY (y);
|
||||||
|
}
|
||||||
|
|
||||||
public void SetY (int y)
|
public void SetY (int y)
|
||||||
{
|
{
|
||||||
this.Coord.Y = y;
|
this.Coord.Y = y;
|
||||||
|
|||||||
Reference in New Issue
Block a user