leaderboard feature added

This commit is contained in:
Mausham
2025-12-17 22:16:41 +05:45
parent df4017f6be
commit f19bbb9d8c
25 changed files with 106 additions and 170 deletions

View File

@@ -26,12 +26,14 @@ namespace Darkmatter.Presentation
private void OnLeaderBoardBtnClicked()
{
IaudioController.PlayBtnPressedSound();
IleaderBoardController.ShowLeaderBoard();
}
public void ShowDeathScreen()
{
IgameScreenController.HideGameScreen();
IleaderBoardController.UpdateLeaderBoardScore(IscoreService.score); //update leaderboard with current score when player dies
deathScreenView.Show(IscoreService.score, IscoreService.highScore);
}