Not perfect but enemies move/attack with animation

This commit is contained in:
2024-09-15 23:56:05 -07:00
parent 4a1fdd94f8
commit 8143da44db
36 changed files with 891 additions and 507 deletions

View File

@@ -24,13 +24,14 @@ namespace GameJamDungeon
public Transition On(in Input.AttackTimer input)
{
return To<Attack>();
Output(new Output.Attack());
return ToSelf();
}
public Transition On(in Input.EnemyDefeated input)
{
Output(new Output.Defeated());
return ToSelf();
return To<Defeated>();
}
}
}