4 way animation handler for new actors

This commit is contained in:
Marco 2025-02-23 17:32:36 +01:00
commit 335f4d5430
8 changed files with 260 additions and 117 deletions

View file

@ -63,7 +63,7 @@ public partial class AnimationHandler : ActorModule
return _directionsTable[FacingDirection.Up];
}
private readonly Dictionary<FacingDirection, string> _directionsTable = new()
protected readonly Dictionary<FacingDirection, string> _directionsTable = new()
{
{ FacingDirection.Right, "right" },
{ FacingDirection.Left, "left" },
@ -75,7 +75,7 @@ public partial class AnimationHandler : ActorModule
{ FacingDirection.DownRight, "down_right" }
};
private enum FacingDirection
protected enum FacingDirection
{
Up,
Down,