Refactor Player class to use components, also use components in Enemy class types and fiddle with boss structure

This commit is contained in:
2025-10-22 02:41:08 -07:00
parent 44fd8c82b0
commit 6ec45c4805
85 changed files with 941 additions and 1449 deletions

View File

@@ -1,5 +1,6 @@
using Godot;
using System.Collections.Immutable;
using Zennysoft.Game.Implementation.Components;
using Zennysoft.Game.Ma;
namespace Zennysoft.Ma.Adapter.Entity
@@ -25,5 +26,15 @@ namespace Zennysoft.Ma.Adapter.Entity
public void LookAtTarget(Vector3 target);
public IDungeonRoom GetCurrentRoom(ImmutableList<IDungeonRoom> dungeonRooms);
public AttackComponent AttackComponent { get; }
public DefenseComponent DefenseComponent { get; }
public int InitialHP { get; }
public int InitialAttack { get; }
public int InitialDefense { get; }
}
}