ui
This commit is contained in:
parent
ce23fb4793
commit
6938507926
4 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
BIN
DangerousD/Content/JosefinSans-Bold.ttf
Normal file
BIN
DangerousD/Content/JosefinSans-Bold.ttf
Normal file
Binary file not shown.
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue