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; 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"); }