More use of Direction

This commit is contained in:
2026-06-15 10:58:16 +02:00
parent 73b3194c51
commit f1281280fa
6 changed files with 450 additions and 443 deletions

View File

@@ -120,7 +120,7 @@ namespace Marro.PacManUdon
case 18:
// Turn PacMan around after eating power pellet
pacMan.SetDirection(Direction.Right);
pacMan.SetTargetDirection(Vector2.right);
pacMan.SetTargetDirection(Direction.Right);
break;
case 19: