Skip to content

Commit

Permalink
Update tutorial with renamed method.
Browse files Browse the repository at this point in the history
  • Loading branch information
nightm4re94 committed Nov 28, 2020
1 parent f7da697 commit bde1b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/creating-a-platformer.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public final class GurkNukemLogic {
Game.world().setGravity(120);

// add default game logic for when a level was loaded
Game.world().addLoadedListener(e -> {
Game.world().onLoaded(e -> {
// spawn the player instance on the spawn point with the name "enter"
Spawnpoint enter = e.getSpawnpoint("enter");
if (enter != null) {
Expand Down

0 comments on commit bde1b4d

Please sign in to comment.