Additional refactoring and fixing of equipment data
Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
using Godot;
|
||||
using Chickensoft.GodotNodeInterfaces;
|
||||
using Godot;
|
||||
using Zennysoft.Game.Abstractions;
|
||||
|
||||
namespace Zennysoft.Ma.Adapter;
|
||||
|
||||
public interface IPlayer : IKillable
|
||||
public interface IPlayer : IKillable, ICharacterBody3D
|
||||
{
|
||||
public void Activate();
|
||||
|
||||
public void Deactivate();
|
||||
|
||||
public void TakeDamage(Damage damage);
|
||||
public void TakeDamage(AttackData damage);
|
||||
|
||||
public void Knockback(float impulse);
|
||||
|
||||
@@ -19,10 +20,6 @@ public interface IPlayer : IKillable
|
||||
|
||||
public IInventory Inventory { get; }
|
||||
|
||||
public Vector3 CurrentPosition { get; }
|
||||
|
||||
public Basis CurrentBasis { get; }
|
||||
|
||||
public IHealthComponent HealthComponent { get; }
|
||||
|
||||
public IVTComponent VTComponent { get; }
|
||||
|
||||
Reference in New Issue
Block a user