Skip to content

Commit ec2a9ed

Browse files
committed
Merge branch 'main' of github.com:openpatch/scratch-for-java
2 parents 88b2429 + d7b7603 commit ec2a9ed

File tree

6 files changed

+257
-356
lines changed

6 files changed

+257
-356
lines changed

examples/java/Tiled/World.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ public void loadMap(String mapFile) {
6262
}
6363
} else if ("enemy".equals(object.type)) {
6464
switch (object.name) {
65-
case "bamboo": {
66-
this.add(new Bamboo(object.x, object.y));
67-
break;
68-
}
65+
case "bamboo":
66+
{
67+
this.add(new Bamboo(object.x, object.y));
68+
break;
69+
}
6970
}
7071
}
7172
}

0 commit comments

Comments
 (0)