Экран смерти, смерть, бабки, Интерфейс, Шлюхи
This commit is contained in:
1 parent
edf3821c0d
commit
019da8cfd3
16 files changed
+278
-60
No files matched your search
@@ -52,16 +52,12 @@ namespace Code.App.AppStates
|
||||
// Debug
|
||||
private void GiveHealth(InputAction.CallbackContext context)
|
||||
{
|
||||
UnityEngine.Debug.Log("Giving health");
|
||||
_playerHealth.GetDamage(-1);
|
||||
UnityEngine.Debug.Log(_playerHealth.HealthPoints);
|
||||
}
|
||||
|
||||
private void LooseHealth(InputAction.CallbackContext context)
|
||||
{
|
||||
UnityEngine.Debug.Log("Losing health");
|
||||
_playerHealth.GetDamage(1);
|
||||
UnityEngine.Debug.Log(_playerHealth.HealthPoints);
|
||||
}
|
||||
|
||||
private void GiveMoney(InputAction.CallbackContext context)
|
||||
@@ -80,7 +76,8 @@ namespace Code.App.AppStates
|
||||
|
||||
private void EndGame()
|
||||
{
|
||||
Context.StateMachine.SwitchState(AppState.GameOver);
|
||||
Context.StateMachine.SwitchState(AppState.GameOver)
|
||||
.AllowStateTransition(AppState.MainMenu);
|
||||
}
|
||||
|
||||
public override void ExitState()
|
||||
|
||||
Reference in new issue
Block a user