Refactor stats

This commit is contained in:
2025-10-22 16:24:07 -07:00
parent 6ec45c4805
commit f0c4e65783
77 changed files with 565 additions and 372 deletions

View File

@@ -1,11 +1,10 @@
using Godot;
using Chickensoft.GodotNodeInterfaces;
using System.Collections.Immutable;
using Zennysoft.Game.Implementation.Components;
using Zennysoft.Game.Ma;
namespace Zennysoft.Ma.Adapter.Entity
{
public interface IEnemy
public interface IEnemy : ICharacterBody3D
{
public void Activate();
@@ -17,19 +16,15 @@ namespace Zennysoft.Ma.Adapter.Entity
public void ReturnToDefaultState();
public void TakeDamage(int damage);
public void SetTarget(Vector3 targetPosition);
public void SetEnemyPosition(Vector3 position);
public void LookAtTarget(Vector3 target);
public IDungeonRoom GetCurrentRoom(ImmutableList<IDungeonRoom> dungeonRooms);
public AttackComponent AttackComponent { get; }
public void MoveEnemyToNewRoom(IDungeonRoom newRoom);
public DefenseComponent DefenseComponent { get; }
public IHealthComponent HealthComponent { get; }
public IAttackComponent AttackComponent { get; }
public IDefenseComponent DefenseComponent { get; }
public int InitialHP { get; }