Переполох в камере, насрано

This commit is contained in:
ThomasCharester authored and Loša Ceviel committed 2025-10-28 22:10:25 +03:00
1 parent 6148889fc1
commit 981d081bed
12 files changed
+69 -36

No files matched your search

@@ -0,0 +1,18 @@
using UnityEngine;
using Code.Configs;
using Reflex.Attributes;
namespace Code.Gameplay.Player
{
public class PlayerFactory
{
[Inject] PlayerConfig _playerConfig;
public PlayerHealth CreatePlayerHP(int count = -1)
{
if (count < 0) count = _playerConfig.maxHealth;
return new PlayerHealth(count);
}
}
}