Skip to content

Commit

Permalink
refactor: minor adjustments to Tile
Browse files Browse the repository at this point in the history
  • Loading branch information
Flashky committed Dec 10, 2024
1 parent 1458a0e commit 78b7324
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/com/adventofcode/flashk/day10/Tile.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
import lombok.Getter;
import lombok.Setter;

@Getter
public class Tile {

@Getter
@Setter
private boolean visited = false;
@Getter
private Vector2 position;
@Getter
private int height;
private final Vector2 position;
private final int height;

public Tile(Vector2 position, int height) {
this.position = position;
Expand Down

0 comments on commit 78b7324

Please sign in to comment.