From 0c50f3b801139915b854885843bac7da32220434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Thu, 15 May 2014 13:24:35 +0200 Subject: [PATCH] SetPos(int, int)-Methode in Klasse Entity --- src/Entity.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Entity.cs b/src/Entity.cs index 355eaea..ee8b675 100644 --- a/src/Entity.cs +++ b/src/Entity.cs @@ -41,6 +41,12 @@ namespace WorldOfPeacecraft return Coord.X; } + public void SetPos (int x, int y) + { + SetX (x); + SetY (y); + } + public void SetY (int y) { this.Coord.Y = y;