This commit is contained in:
gravity 2023-08-15 14:45:49 +03:00
parent ce23fb4793
commit 6938507926
4 changed files with 5 additions and 3 deletions

View file

@ -11,7 +11,7 @@ with.
<!--
Modify this string to change the font that will be imported.
-->
<FontName>Josefin Sans</FontName>
<FontName>JosefinSans-Bold.ttf</FontName>
<!--
Size is a float value, measured in points. Modify this value to change

Binary file not shown.

View file

@ -20,7 +20,7 @@ internal class MenuGUI : AbstractGui
Elements.Add(butMulti);
butMulti.LeftButtonPressed += () =>
{
// открытие мультиплеера
AppManager.Instance.ChangeGameState(GameState.Login);
};
var butOption = new Button(Manager) { rectangle = new Rectangle((wigth - 300) / 2, 250, 300, 50), text = "Option", fontName = "File" };
Elements.Add(butOption);

View file

@ -35,7 +35,7 @@ namespace DangerousD.GameCore
resolution = new Point(_graphics.PreferredBackBufferWidth, _graphics.PreferredBackBufferHeight);
GameManager = new GameManager();
gameState = GameState.Login;
gameState = GameState.Menu;
MenuGUI = new MenuGUI();
LoginGUI = new LoginGUI();
}
@ -122,6 +122,8 @@ namespace DangerousD.GameCore
break;
case GameState.Options:
break;
case GameState.Login:
break;
case GameState.Lobby:
break;
case GameState.Game: