Slightly rework death screen
This commit is contained in:
@@ -38,6 +38,8 @@ public interface IGameRepo : IDisposable
|
||||
|
||||
public void CloseInventory();
|
||||
|
||||
public void GameEnded();
|
||||
|
||||
public double ExpRate { get; }
|
||||
}
|
||||
|
||||
@@ -109,7 +111,7 @@ public class GameRepo : IGameRepo
|
||||
CloseInventoryEvent?.Invoke();
|
||||
}
|
||||
|
||||
public void OnGameEnded()
|
||||
public void GameEnded()
|
||||
{
|
||||
Pause();
|
||||
Ended?.Invoke();
|
||||
|
||||
Reference in New Issue
Block a user