fix: fix win face judgment
This commit is contained in:
parent
74a1dd3f7a
commit
79c6848e17
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user