2-24-16 build changes
This commit is contained in:
@@ -41,7 +41,11 @@ public partial class GameOverMenu : Control, IGameOverMenu
|
||||
private void DeathMenu_VisibilityChanged()
|
||||
{
|
||||
if (Visible)
|
||||
{
|
||||
Continue.Show();
|
||||
Exit.Show();
|
||||
Continue.CallDeferred(MethodName.GrabFocus, []);
|
||||
}
|
||||
else
|
||||
ReleaseFocus();
|
||||
}
|
||||
@@ -49,12 +53,15 @@ public partial class GameOverMenu : Control, IGameOverMenu
|
||||
private void Exit_Pressed()
|
||||
{
|
||||
QuitGame?.Invoke();
|
||||
Continue.Hide();
|
||||
Exit.Hide();
|
||||
}
|
||||
|
||||
private void Continue_Pressed()
|
||||
{
|
||||
FadeOut();
|
||||
NewGame?.Invoke();
|
||||
Continue.Hide();
|
||||
Exit.Hide();
|
||||
}
|
||||
|
||||
public void FadeIn() => AnimationPlayer.Play("fade_in");
|
||||
|
||||
Reference in New Issue
Block a user