mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 01:05:53 +00:00
4 way animation handler for new actors
This commit is contained in:
parent
0e15d2acba
commit
335f4d5430
8 changed files with 260 additions and 117 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue