291f92906477a2f363d48e2de3e80e4875693764
Reordered GhostMode enum for logical priority and updated `setMode` to enforce transitions only to higher-priority modes. Added `currentMode` method for determining the Ghost's active mode, ensuring cleaner and safer state management.
Description
No description provided
Languages
Java
100%