Skip to content

Commit

Permalink
Merge branch 'main' of github.com:openpatch/scratch-for-java
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebarkmin committed Jan 25, 2025
2 parents 88b2429 + d7b7603 commit ec2a9ed
Show file tree
Hide file tree
Showing 6 changed files with 257 additions and 356 deletions.
9 changes: 5 additions & 4 deletions examples/java/Tiled/World.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ public void loadMap(String mapFile) {
}
} else if ("enemy".equals(object.type)) {
switch (object.name) {
case "bamboo": {
this.add(new Bamboo(object.x, object.y));
break;
}
case "bamboo":
{
this.add(new Bamboo(object.x, object.y));
break;
}
}
}
}
Expand Down
Loading

0 comments on commit ec2a9ed

Please sign in to comment.