This commit is contained in:
parent
79dccbcc0f
commit
15f93310e4
4 changed files with 181 additions and 2 deletions
|
@ -13,8 +13,8 @@ public class Walls {
|
|||
private final SortedSet<Direction> directions = new TreeSet<>();
|
||||
private final Set<Direction> hardened = new HashSet<>();
|
||||
|
||||
public boolean set(@NonNull final Direction direction) {
|
||||
return this.directions.add(direction);
|
||||
public void set(@NonNull final Direction direction) {
|
||||
this.directions.add(direction);
|
||||
}
|
||||
|
||||
public void setAll() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue