Skip to content

Commit 78b7324

Browse files
committed
refactor: minor adjustments to Tile
1 parent 1458a0e commit 78b7324

File tree

1 file changed

+3
-5
lines changed
  • src/main/java/com/adventofcode/flashk/day10

1 file changed

+3
-5
lines changed

src/main/java/com/adventofcode/flashk/day10/Tile.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44
import lombok.Getter;
55
import lombok.Setter;
66

7+
@Getter
78
public class Tile {
89

9-
@Getter
1010
@Setter
1111
private boolean visited = false;
12-
@Getter
13-
private Vector2 position;
14-
@Getter
15-
private int height;
12+
private final Vector2 position;
13+
private final int height;
1614

1715
public Tile(Vector2 position, int height) {
1816
this.position = position;

0 commit comments

Comments
 (0)