From 76b9b3260036aa30098f0d58cb40876b17bf5434 Mon Sep 17 00:00:00 2001 From: Dima Fitiskin Date: Tue, 9 Jan 2018 21:36:23 +0700 Subject: [PATCH] =?UTF-8?q?=D0=92=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D1=80=20=D0=B8=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=D0=B0=20Level?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58eacf5..bcf5ef2 100644 --- a/README.md +++ b/README.md @@ -539,7 +539,7 @@ const bronzeCoin = new MyCoin('Бронза'); const player = new Actor(); const fireball = new Actor(); -const level = new Level(undefined, [ goldCoin, bronzeCoin, player, fireball ]); +const level = new Level(grid, [ goldCoin, bronzeCoin, player, fireball ]); level.playerTouched('coin', goldCoin); level.playerTouched('coin', bronzeCoin);