diff --git a/docs/tutorials/simple-extensions.md b/docs/tutorials/simple-extensions.md index 895cb34415..1876bf637a 100644 --- a/docs/tutorials/simple-extensions.md +++ b/docs/tutorials/simple-extensions.md @@ -61,7 +61,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_0`) ``` @@ -75,7 +75,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_1`) ``` @@ -94,7 +94,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_1`) ```