//決まった位置に置く@コードを学ぼう2 let expert = Expert() world.place(expert, atColumn: 1, row: 6) expert.collectGem() expert.turnLeft() expert.moveForward() expert.turnLock(up: true, numberOfTimes: 1) expert.turnRight() expert.move(distance: 5) expert.turnRight() expert.moveForward() expert.collectGem() expert.turnLeft() expert.turnLeft() expert.moveForward() expert.turnLockUp() expert.turnRight() expert.move(distance: 6) expert.collectGem()