From e8814b2f7ac970ad8371f4b33ed34909315854e9 Mon Sep 17 00:00:00 2001 From: Treedbox Date: Wed, 21 Jun 2017 14:02:39 -0300 Subject: [PATCH] Update step14_en.md LoadingState is not used in this tutorial, only in main.js --- src/content/platformer/step14_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/platformer/step14_en.md b/src/content/platformer/step14_en.md index 8122a63..ba6a575 100644 --- a/src/content/platformer/step14_en.md +++ b/src/content/platformer/step14_en.md @@ -72,7 +72,7 @@ Here's how the whole thing will look like: 1. The key is very similar to the door, but it just has a single image, not a spritesheet: ```js - LoadingState.preload = function () { + PlayState.preload = function () { // ... this.game.load.image('key', 'images/key.png'); };