Rework enemy behavior (still in progress but shouldn't crash)
This commit is contained in:
29
Zennysoft.Game.Ma.Implementation/Entity/IEnemy.cs
Normal file
29
Zennysoft.Game.Ma.Implementation/Entity/IEnemy.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Godot;
|
||||
using System.Collections.Immutable;
|
||||
using Zennysoft.Game.Ma;
|
||||
|
||||
namespace Zennysoft.Ma.Adapter.Entity
|
||||
{
|
||||
public interface IEnemy
|
||||
{
|
||||
public void Activate();
|
||||
|
||||
public void Idle();
|
||||
|
||||
public void Die();
|
||||
|
||||
public void PerformAction();
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user