Add attack data to enemy attacks (might need to rework a little bit for primary/secondary attacks)
37 lines
828 B
C#
37 lines
828 B
C#
using Chickensoft.GodotNodeInterfaces;
|
|
using Godot;
|
|
using Zennysoft.Game.Abstractions;
|
|
|
|
namespace Zennysoft.Ma.Adapter;
|
|
|
|
public interface IPlayer : IKillable, ICharacterBody3D
|
|
{
|
|
public void Activate();
|
|
|
|
public void Deactivate();
|
|
|
|
public void TakeDamage(AttackData damage);
|
|
|
|
public void Knockback(float impulse);
|
|
|
|
public void LevelUp();
|
|
|
|
public void TeleportPlayer(Transform3D newTransform);
|
|
|
|
public IInventory Inventory { get; }
|
|
|
|
public IHealthComponent HealthComponent { get; }
|
|
|
|
public IVTComponent VTComponent { get; }
|
|
|
|
public IAttackComponent AttackComponent { get; }
|
|
|
|
public IDefenseComponent DefenseComponent { get; }
|
|
|
|
public IExperiencePointsComponent ExperiencePointsComponent { get; }
|
|
|
|
public ILuckComponent LuckComponent { get; }
|
|
|
|
public IEquipmentComponent EquipmentComponent { get; }
|
|
}
|