Skip to content

Commit

Permalink
TreeTent Creator fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rspacerr committed Apr 15, 2023
1 parent 63e7f98 commit 7482ccf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/edu/rpi/legup/puzzle/treetent/TreeTentCell.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ public void setType(Element e, MouseEvent m) {
switch (e.getElementName()) {
case "Unknown Tile":
this.data = TreeTentType.UNKNOWN;
break;
case "Tree Tile":
this.data = TreeTentType.TREE;
break;
case "Grass Tile":
this.data = TreeTentType.GRASS;
break;
case "Tent Tile":
this.data = TreeTentType.TENT;
break;
}
}

Expand Down

0 comments on commit 7482ccf

Please sign in to comment.