protected override void LoadInterface()
{
this.GUI.RemoveAllWidgets();
Color color = Color.Black;
color.A = 100;
ChatBox textChat = this.GUI.Add(new ChatBox(Constants.FILEPATH_THEME_CONFIG), "textChat");
textChat.Position = new Vector2f(5, 350);
textChat.Size = new Vector2f(400, 200);
textChat.BackgroundColor = color;
EditBox textMyChat = this.GUI.Add(new EditBox(Constants.FILEPATH_THEME_CONFIG), "textMyChat");
textMyChat.Position = new Vector2f(5, textChat.Position.Y + textChat.Size.Y + 5);
textMyChat.Size = new Vector2f(textChat.Size.X, 40);
textMyChat.ReturnKeyPressedCallback += textMyChat_ReturnKeyPressedCallback;
textMyChat.Transparency = 150;
MessageBox messageBoxAlert = this.GUI.Add(new MessageBox(Constants.FILEPATH_THEME_CONFIG), "messageBoxAlert");
messageBoxAlert.Visible = false;
messageBoxAlert.ClosedCallback += messageBoxAlert_ClosedCallback;
messageBoxAlert.Add(new Label(), "labelAlert");
messageBoxAlert.Size = new Vector2f(400, 100);
Label labelFps = this.GUI.Add(new Label(Constants.FILEPATH_THEME_CONFIG), "labelFps");
labelFps.TextSize = 30;
labelFps.TextColor = Color.Black;
labelFps.Position = new Vector2f(700, 10);
Button buttonInventory = this.GUI.Add(new Button(Constants.FILEPATH_THEME_CONFIG), "buttonInventory");
buttonInventory.Text = "Inventory";
buttonInventory.Position = new Vector2f(550, 600);
buttonInventory.Size = new Vector2f(100, 25);
buttonInventory.Visible = true;
buttonInventory.LeftMouseClickedCallback += buttonInventory_LeftMouseClickedCallback;
Button buttonLogout = this.GUI.Add(new Button(Constants.FILEPATH_THEME_CONFIG), "buttonLogout");
buttonLogout.Text = "Logout";
buttonLogout.Position = new Vector2f(700, 600);
buttonLogout.Size = new Vector2f(100, 25);
buttonLogout.Visible = true;
buttonLogout.LeftMouseClickedCallback += buttonLogout_LeftMouseClickedCallback;
Picture picInventory = this.GUI.Add(new Picture(Constants.FILEPATH_GRAPHICS + "/Gui/Inventory.png"), "picInventory");
picInventory.Position = new Vector2f(500, 400);
picInventory.LeftMouseClickedCallback += picInventory_LeftMouseClickedCallback;
picInventory.Visible = false;
LoadingBar healthBar = this.GUI.Add(new LoadingBar(Constants.FILEPATH_THEME_CONFIG), "healthBar");
healthBar.Text = "HP";
healthBar.Size = new Vector2f(300, 20);
healthBar.Position = new Vector2f(0, 10);
healthBar.Maximum = 100;
}