From 931b8f0a956f08a67e4bd1917283a6b6fac9bfd5 Mon Sep 17 00:00:00 2001 From: pp-prog Date: Tue, 10 Jun 2014 15:24:38 +0800 Subject: [PATCH] =?UTF-8?q?push=E5=B8=90=E5=8F=B7=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=EF=BC=8C=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/chapter2/11_Methods.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/chapter2/11_Methods.md b/source/chapter2/11_Methods.md index 5630a319..3c5a6013 100644 --- a/source/chapter2/11_Methods.md +++ b/source/chapter2/11_Methods.md @@ -279,7 +279,7 @@ println("highest unlocked level is now \(LevelTracker.highestUnlockedLevel)") // prints "highest unlocked level is now 2" ``` -如果你创建了第二个玩家,并尝试让他开始一个没有被任何玩家解锁的等级,你试图去设置玩家当前等级时会失败的: +如果你创建了第二个玩家,并尝试让他开始一个没有被任何玩家解锁的等级,当你试图去设置玩家当前等级时会失败的: ``` player = Player(name: "Beto") @@ -290,4 +290,3 @@ println("level 6 has not yet been unlocked") } // prints "level 6 has not yet been unlocked" ``` -