Skip to content

Commit

Permalink
Make State enum and state attribute private
Browse files Browse the repository at this point in the history
  • Loading branch information
guemax committed Jul 26, 2023
1 parent 3f23624 commit b91993a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Figure.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
enum State {
IN_BASE,
ON_FIELD,
IN_HOUSE,
FINISHED,
}

public class Figure {
enum State {
IN_BASE,
ON_FIELD,
IN_HOUSE,
FINISHED,
}
private State state;

public int field;
public State state;
public int color;
public boolean placeOption;

Expand Down

0 comments on commit b91993a

Please sign in to comment.