fix: fix win face judgment

This commit is contained in:
wzp 2024-12-19 12:26:51 +08:00
parent 74a1dd3f7a
commit 79c6848e17

View File

@ -185,14 +185,14 @@ public class Room {
@RequiredArgsConstructor
public enum Faces {
UP(0, 1),
UP_RIGHT(1, 1),
UP(0, -1),
UP_RIGHT(1, -1),
RIGHT(1, 0),
DOWN_RIGHT(1, -1),
DOWN(0, -1),
DOWN_LEFT(-1, -1),
DOWN_RIGHT(1, 1),
DOWN(0, 1),
DOWN_LEFT(-1, 1),
LEFT(-1, 0),
UP_LEFT(-1, 1);
UP_LEFT(-1, -1);
public final int xDelta, yDelta;
}