Remove in-progress work that isn't working well

This commit is contained in:
2024-09-01 12:59:48 -07:00
parent ea99e88535
commit b1ef3dbaab
52 changed files with 1521 additions and 166 deletions

View File

@@ -0,0 +1,27 @@
using Chickensoft.Introspection;
using Godot;
namespace GameJamDungeon;
public partial class EnemyLogic
{
public partial record State
{
[Meta, Id("enemy_logic_state_idle")]
public partial record Idle : Alive, IGet<Input.Alerted>, IGet<Input.PhysicsTick>
{
public Transition On(in Input.Alerted _)
{
return To<FollowPlayer>();
}
public Transition On(in Input.PhysicsTick input)
{
var delta = input.Delta;
var gameRepo = Get<IGameRepo>();
var enemy = Get<IEnemy>();
return ToSelf();
}
}
}
}