Update items

This commit is contained in:
2024-09-16 01:05:15 -07:00
parent 660a5f5553
commit 55c521db3a
32 changed files with 480 additions and 142 deletions

View File

@@ -5,6 +5,7 @@ using Chickensoft.AutoInject;
using Chickensoft.GodotNodeInterfaces;
using Chickensoft.Introspection;
using Godot;
using System;
public interface IGame : IProvide<IGameRepo>, IProvide<IGameEventDepot>, IProvide<IGame>, INode3D
{
@@ -129,6 +130,13 @@ public partial class Game : Node3D, IGame
Player.PauseButtonPressed += Player_PauseButtonPressed;
GameRepo.PlayerData.Inventory.EquippedItem += Inventory_EquippedItem;
GameEventDepot.EnemyDefeated += OnEnemyDefeated;
}
private void OnEnemyDefeated(Vector3 vector, EnemyStatResource resource)
{
}
private void Inventory_EquippedItem()