Fix restorative
This commit is contained in:
@@ -32,8 +32,6 @@ public interface IGameRepo : IDisposable
|
||||
|
||||
event Action<EquipableItem>? UnequippedItem;
|
||||
|
||||
event Action<IHealthPack>? RestorativePickedUp;
|
||||
|
||||
event Action<IEnemy>? EnemyDied;
|
||||
|
||||
void Pause();
|
||||
@@ -56,8 +54,6 @@ public interface IGameRepo : IDisposable
|
||||
|
||||
public void OnPlayerAttackedWall();
|
||||
|
||||
public void OnRestorativePickedUp(IHealthPack restorative);
|
||||
|
||||
public void CloseInventory();
|
||||
|
||||
public void GameEnded();
|
||||
@@ -85,7 +81,6 @@ public class GameRepo : IGameRepo
|
||||
public event Action? PlayerAttackedEnemy;
|
||||
public event Action<EquipableItem>? EquippedItem;
|
||||
public event Action<EquipableItem>? UnequippedItem;
|
||||
public event Action<IHealthPack>? RestorativePickedUp;
|
||||
public event Action<IEnemy>? EnemyDied;
|
||||
public IAutoProp<bool> IsPaused => _isPaused;
|
||||
private readonly AutoProp<bool> _isPaused;
|
||||
@@ -151,11 +146,6 @@ public class GameRepo : IGameRepo
|
||||
PlayerAttackedWall?.Invoke();
|
||||
}
|
||||
|
||||
public void OnRestorativePickedUp(IHealthPack restorative)
|
||||
{
|
||||
RestorativePickedUp?.Invoke(restorative);
|
||||
}
|
||||
|
||||
public void CloseInventory()
|
||||
{
|
||||
CloseInventoryEvent?.Invoke();
|
||||
|
||||
Reference in New Issue
Block a user