From 92571ba47239ce8ff84cccbc5ad144f964da40a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Thu, 15 May 2014 13:20:44 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Gui=20wird=20jetzt=20tats=C3=A4chlich=20zen?= =?UTF-8?q?triert=20gestartet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Gui/Gui.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Gui/Gui.cs b/src/Gui/Gui.cs index 40a4a70..0e4d5ea 100644 --- a/src/Gui/Gui.cs +++ b/src/Gui/Gui.cs @@ -72,11 +72,10 @@ namespace WorldOfPeacecraft this.Controls.Add (OnlinePlayerList); this.Controls.Add (MapPanel); this.Controls.Add (ChatPanel); - this.CenterToScreen (); - this.ResumeLayout(); loaded = true; this.PerformRefresh(); + this.CenterToScreen (); //m.Playmusic ("overworld"); } 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 2/2] 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;